standard documentation
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
@@ -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'),
|
||||||
|
|||||||
@@ -4,3 +4,4 @@ django-ckeditor
|
|||||||
Pillow
|
Pillow
|
||||||
djangorestframework
|
djangorestframework
|
||||||
django-static-jquery-ui
|
django-static-jquery-ui
|
||||||
|
docutils
|
||||||
Reference in New Issue
Block a user