Questions tagged [django-wiki]

Questions specific to django-wiki, a reusable application written for the Django framework, provides extendible wiki functionality.

13 questions
1
vote
0 answers

Django - Protect media files with django-wiki

In the past I managed to protect my images in other projects in the following way: urls.py urlpatterns = [ ... path('media//', views.media, name="media"), ] settings.py #MEDIA_URL = '/media/' MEDIA_ROOT =…
Cheknov
  • 1,892
  • 6
  • 28
  • 55
1
vote
0 answers

Authorization issues with django-wiki

I'm using django-wiki as a part of a larger user portal which is authenticated via Duo. I've already made the hooks for Django-wiki to redirect to the portal login page for authentication instead of using the inbuilt login mechanism. My question is…
tks
  • 55
  • 6
1
vote
1 answer

cannot integrate third party markdown extension into django-wiki markdown

I'm trying to use this extension: https://github.com/aleray/mdx_semanticdata with django-wiki's markdown but I am unable to get it to work (though it works in the python/django shell just fine). (django-wiki:…
Michael
  • 763
  • 1
  • 10
  • 25
1
vote
0 answers

Building tags plugin for django-wiki using django-taggit. Cannot save with .save_m2m() - type object has no attribute 'save_m2m'

I am building a custom tags plugin for django-wiki using django-taggit to save tags. I cannot save the form with .save_m2m as it says in the django-taggit docs. The tags can be saved in the admin but not through the fronted form because I cant save…
phyichai
  • 45
  • 7
0
votes
0 answers

Django-wiki hit error when trying to access

enter image description here at the beginning, I executed Django run server after that I go to http://127.0.0.1:8000/ to try to access this wiki page are hitting error >> global flags not at the start of the expression at position 7 when i remove…
0
votes
1 answer

Django-wiki installed but root article throws global flag error

I have installed Django-wiki in a fresh virtual Django install. My initial page comes up, the site allows for user registration. Everything looks well until I enter my first Root article. I have kept it rudimentary with a title "Test" and the body…
0
votes
0 answers

replace the base editor in django-wiki app

I use django-wiki app : https://django-wiki.readthedocs.io/en/main/ I try to replace the base editor. The default param for editor is : wiki.conf.settings.EDITOR = 'wiki.editors.markitup.MarkItUp' I installed Martor (Markdown Editor plugin for…
Ahima
  • 45
  • 7
0
votes
0 answers

How to reconcile shared applabel in two third party apps in django?

I have a large django project I am working on, that is largely based around the wagtail CMS. I recently added the django-wiki app to my project, and ran into issues running makemigrations, getting the error: "Application labels aren't unique,…
Jake Rankin
  • 714
  • 6
  • 22
0
votes
1 answer

django html editor to add image in CharField form

I m using Django-wiki which use // markItUp! Universal MarkUp Engine, JQuery plugin in article form But in Django-wiki form used for create or edit articles I don't see how to add an image like in stack overflow So I would like to create a JS code…
0
votes
1 answer

How to add custom preprocessor/postprocessor to django-wiki render?

I am planning to add my custom "syntax extension" to my wiki based on django-wiki (https://github.com/django-wiki/django-wiki). For example I want something like this: {mytemplate param1="value"} to unfold to something like that:
Astronavigator
  • 2,021
  • 2
  • 24
  • 45
0
votes
2 answers

django-wiki: how to list all articles under root article

I am a newbie in Django and am currently building a site. I have downloaded django-wiki ver 0.4a3 to have a wiki app for my site. Everything works fine, out-of-the-box. But instead of showing the root article as the main page, how can I show a list…
cbsteh
  • 809
  • 6
  • 19
0
votes
1 answer

ImportError while python package installation

I'm installing django-wiki exactly as shown in the docs http://django-wiki.readthedocs.io/en/latest/installation.html When I try to perform 'python manage.py migrate', I get the following error: Traceback (most recent call last): …
Julie B
  • 51
  • 1
  • 5
0
votes
1 answer

Defining a default URL prefix using markdown / django-wiki

I've got a Django app that I'm working on, with a wiki (powered by django-wiki) sitting under the wiki/ folder. The problem I'm having is that if I create links using Markdown, they all direct to the root /, whereas I want any links generated from…
Adam Luchjenbroers
  • 4,917
  • 2
  • 30
  • 35