Include the Django Admin docs

This commit is contained in:
2018-08-16 12:30:11 +02:00
parent 46f6351797
commit c341b1dcc7
4 changed files with 13 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ Django = "*"
django-debug-toolbar = "*"
requests-oauthlib = "*"
packaging = "*"
docutils = "*"
[dev-packages]
responses = "*"

11
Pipfile.lock generated
View File

@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "bf16ca5f69124b4f0a1a50f8abd815ad70660b87535e35f8a6a41fda508e7670"
"sha256": "d15291f2f58d576101694ea689871e882cbe8637133d0bd1d1cf17246db11027"
},
"pipfile-spec": 6,
"requires": {
@@ -46,6 +46,15 @@
"index": "pypi",
"version": "==1.9.1"
},
"docutils": {
"hashes": [
"sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6",
"sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274",
"sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6"
],
"index": "pypi",
"version": "==0.14"
},
"idna": {
"hashes": [
"sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e",

View File

@@ -12,6 +12,7 @@ STATIC_ROOT = BASE_DIR / 'static'
STATICFILES_DIRS = [BASE_DIR / 'webstatic']
INSTALLED_APPS = [
'django.contrib.admindocs',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View File

@@ -8,6 +8,7 @@ import mydata_main.views
urlpatterns = [
url(r'^', include('mydata_benchmarks.urls')),
path('admin/doc/', include('django.contrib.admindocs.urls')),
path('admin/', admin.site.urls),
path('oauth/', include('oauth.urls', namespace='oauth')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)