django-docs
django-docs copied to clipboard
Allows to serve Sphinx generated docs from django.
The mentioned error appears when running python3.10 and Django4.0. Error in the following 17th line of views.py: `from django.utils.translation import ugettext as _` 'ugettext_lazy' has been deprecated for django 3+....
Hello everyone, login_required - docs are visible only to authenticated users. Is it possible to show few pages to admin user's only and the rest of docs to public? Thanks...
It's problem for pip install django-docs.
Django 2.1 depreciated contrib.auth.views.login() causing an error in docs\views.py", line 14 import
I am using this package and I want request object on index.html so that I can have username(under request) on the generated documentation and I could use {{ request.user }}...
When I click on **Module Index** it hits http://127.0.0.1/docs/py-modindex.html and gives me error **py-modindex.html** does not exist `Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/docs/py-modindex.html Raised by: docs.views.serve_docs...

http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app
This error happens with django 4+ as the 'django.conf.urls' id depreciated ``` from django.conf.urls import url from docs.views import DocsRootView, serve_docs urlpatterns = [ url(r'^$', DocsRootView.as_view(permanent=True), name='docs_root'), ```