standard documentation

This commit is contained in:
2020-06-07 10:16:12 +00:00
parent 63a7f1f6de
commit 7628eb2008
3 changed files with 3 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ INSTALLED_APPS = [
'rest_framework', 'rest_framework',
'django_filters', 'django_filters',
'django_static_jquery_ui', 'django_static_jquery_ui',
'django.contrib.admindocs'
] ]
MIDDLEWARE = [ MIDDLEWARE = [

View File

@@ -26,6 +26,7 @@ router.register(r'posts', PostViewSet)
urlpatterns = [ urlpatterns = [
path('posts/',include('posts.urls')), path('posts/',include('posts.urls')),
path('admin/doc/', include('django.contrib.admindocs.urls')),
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('', views.index, name='home'), path('', views.index, name='home'),
path('index.html', views.index, name='home'), path('index.html', views.index, name='home'),

View File

@@ -4,3 +4,4 @@ django-ckeditor
Pillow Pillow
djangorestframework djangorestframework
django-static-jquery-ui django-static-jquery-ui
docutils