diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-13 22:11:28 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-13 22:11:28 -0500 |
commit | b2434dcba142961b4a4b67780cf64e01d0908bf5 (patch) | |
tree | a9d91844efe30952177c28e329f9f652517dfbe3 /config | |
parent | 2f9701b600493f1172c15447ba5ce4f363b49136 (diff) |
migrated jrnl to posts, fixed some bugs in pages build, RSS feed, and
Sitemap
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index 989a876..169b7f4 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -6,12 +6,12 @@ from django.contrib.sitemaps.views import sitemap from django.views.generic.base import RedirectView from pages.views import PageDetailView, PageDetailTXTView -from jrnl.models import BlogSitemap from jrnl.views import HomepageList from locations.models import WritingbyCountrySitemap from photos.models import PhotoGallerySitemap from books.models import BookSitemap from posts.models import PostSitemap +from pages.models import PageSitemap import builder.views import utils.views import products.views @@ -23,8 +23,8 @@ from posts.views import PostRSSFeedView admin.autodiscover() sitemaps = { - 'blog': BlogSitemap, 'posts': PostSitemap, + 'pages': PageSitemap, 'writingbyloc': WritingbyCountrySitemap, 'books': BookSitemap, } @@ -41,7 +41,8 @@ urlpatterns = [ path(r'sitemap.xml', sitemap, {'sitemaps': sitemaps}), path(r'links/', include('links.urls')), path(r'newsletter/', include('lttr.urls')), - path(r'jrnl/', include('jrnl.urls')), + #path(r'jrnl/', include('jrnl.urls')), + path(r'jrnl/', include('posts.urls.jrnl_urls', namespace='jrnl')), #path(r'projects/', include('projects.urls')), path(r'topics/', include('taxonomy.urls')), path(r'walk/', include('locations.walk_urls')), |