diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-15 10:13:08 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-15 10:13:08 -0500 |
commit | 7509da286bccd1dda358507cd455f9297db59247 (patch) | |
tree | 779aa3660e453d73268d22a72d9a5599cc94aa02 /config | |
parent | b2434dcba142961b4a4b67780cf64e01d0908bf5 (diff) |
ported jrnl building to posts
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index 169b7f4..61dd565 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -5,8 +5,7 @@ from django.conf import settings from django.contrib.sitemaps.views import sitemap from django.views.generic.base import RedirectView -from pages.views import PageDetailView, PageDetailTXTView -from jrnl.views import HomepageList +from pages.views import PageDetailView, PageDetailTXTView, HomePageList from locations.models import WritingbyCountrySitemap from photos.models import PhotoGallerySitemap from books.models import BookSitemap @@ -63,7 +62,7 @@ urlpatterns = [ path(r'work/', include('resume.urls', namespace='resume')), path(r'map', include('locations.urls', namespace='map')), path(r'map/', include('locations.urls', namespace='map')), - path(r'', HomepageList.as_view(), name="homepage"), + path(r'', HomePageList.as_view(), {'pk':1,}, name="homepage"), path(r'comments/', include('django_comments.urls')), path(r'<slug>.txt', PageDetailTXTView.as_view()), path(r'<slug>', include('pages.urls', namespace='pages')), |