Hooked up library app

This commit is contained in:
Tris
2021-03-11 09:33:51 +11:00
parent 526ae4f59b
commit 35555c3321
13 changed files with 103 additions and 9 deletions
+3
View File
@@ -39,6 +39,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'django_markdown2',
'interface',
'library',
]
MIDDLEWARE = [
@@ -123,3 +124,5 @@ STATIC_URL = '/static/'
# Need to set this
AWS_BUCKET = ''
MEDIA_ROOT = 'media'
+7
View File
@@ -19,4 +19,11 @@ from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('interface.urls')),
path('', include('library.urls')),
]
try:
import debug_toolbar
urlpatterns.append(path('__debug__', include(debug_toolbar.urls)))
except ImportError:
pass