summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2021-09-13 12:37:19 -0400
committerluxagraf <sng@luxagraf.net>2021-09-13 12:37:19 -0400
commitc80742b329c4955336188f186eaa933193c6c735 (patch)
treed090460baf7e9eb189b5207a226f8e5408207dea /config
parent65312b9a798215fa27a389cb60ca00cd616e15b0 (diff)
books: tweaked the admin and fixed file paths for generated thumbs
Diffstat (limited to 'config')
-rw-r--r--config/base_urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index 6f40180..8a9c3ef 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -37,6 +37,7 @@ urlpatterns = [
path(r'<slug>.txt', PageDetailTXTView.as_view()),
path(r'<slug>', include('pages.urls', namespace='pages')),
path(r'<path>/<slug>/', PageDetailView.as_view()),
+ path(r'', HomePageList.as_view(), {'pk':1,}, name="homepage"),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)