2π
I guess django tries to do
import docutils
And this fails. Django catches the exception and displayes this message to you.
Please try to get the real exception. You could insert the above line in one of your views:
def myview(request, ...):
import docutils
I hope django shows you the ImportError. Post it here, if still canβt fix it.
π€guettli
0π
Did you restart the Django server? Django has to restart to recognize the newly installed admindocs.
π€kd4ttc
- [Answered ]-Django manytomany add or remove
- [Answered ]-How to restrict editing of records to the logged-in user?
0π
any chance you missed importing the admin in the urls.py?
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
π€harmstyler
- [Answered ]-Form is not rendered in the template after redirection (django)
- [Answered ]-Django grappelli adding custom js to change_form
- [Answered ]-Trouble Installing M2Crypto on CentOS
- [Answered ]-Filter query based on user in Django Admin
0π
You might have installed the docutils module in the virtual env/path.
Uninstall it from the virtual path and re-install it in the global python installation folder. That should solve the problem.
Note: Do not install django-docutils, but just simply docutils
π€Raphael Qureshi
Source:stackexchange.com