diff options
author | luxagraf <sng@luxagraf.net> | 2025-01-03 18:46:40 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2025-01-03 18:46:40 -0600 |
commit | fe7d43f308bbc3953d4a88480b8088d12cbcb0b6 (patch) | |
tree | 3aa10d1ac8e041ad2b78a5acf6b29febad6a5fe3 /config | |
parent | df3bc581e496412ef8c263dbf1cfe00f184e4e59 (diff) |
archived old not used apps
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index 0677a15..2b7d43d 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -27,37 +27,44 @@ sitemaps = { } urlpatterns = [ - re_path(r'^admin/build/.*', builder.views.do_build), - path(r'admin/data/', include('utils.urls')), + # old unused urls #path(r'admin/income/invoice/monthlyview/<str:slug>/invoice/', DownloadMonthlyInvoiceView.as_view(), name="download-invoice"), #path(r'admin/income/invoice/monthlyview/<str:slug>/', MonthlyInvoiceView.as_view(), name="monthly-invoice"), + #path(r'spending/', include('budget.urls')), + #path(r'projects/', include('projects.urls')), + #path(r'expenses/', include('expenses.urls', namespace='expenses')), + #path(r'film/', include('posts.urls.film_urls')), + #re_path(r'^film/$', RedirectView.as_view(url='/films/')), + #path(r'films/', include('posts.urls.film_urls', namespace='films')), + #path(r'review/', include('posts.urls.review_urls')), + #re_path(r'^review/$', RedirectView.as_view(url='/reviews/')), + #path(r'reviews/', include('posts.urls.review_urls', namespace='review-list')), + #path(r'how-to/', include('posts.urls.craft_urls')), + #re_path(r'^how-to/$', RedirectView.as_view(url='/how-to/')), + #path(r'how-tos/', include('posts.urls.craft_urls', namespace='craft')), + #path(r'people/', include('people.urls')), + #path(r'work/', include('resume.urls', namespace='resume')), + #path(r'<path>/<slug>/', PageDetailView.as_view()), + re_path(r'^admin/build/.*', builder.views.do_build), + path(r'admin/data/', include('utils.urls')), path(r'admin/', admin.site.urls), path(r'trading/', include('trading.urls')), path(r'gtd/', include('gtd.urls')), - path(r'spending/', include('budget.urls')), path(r'planner/', include('planner.urls')), path(r'luximages/insert/', utils.views.insert_image), path(r'feed.xml', JrnlRSSFeedView(),name="feed"), path(r'sitemap.xml', sitemap, {'sitemaps': sitemaps}), path(r'links/', include('links.urls')), path(r'jrnl/', include('posts.urls.jrnl_urls', namespace='jrnl')), - #path(r'projects/', include('projects.urls')), path(r'walk/', include('locations.walk_urls')), path(r'walks/', include('locations.walk_urls')), path(r'locations/', include('locations.urls')), - #path(r'expenses/', include('expenses.urls', namespace='expenses')), path(r'newsletter/', include('lttr.urls')), path(r'photos/', include('media.urls')), path(r'images/', include('posts.urls.photo_essay_urls', namespace='photo-essay-list')), - #path(r'film/', include('posts.urls.film_urls')), - #re_path(r'^film/$', RedirectView.as_view(url='/films/')), - #path(r'films/', include('posts.urls.film_urls', namespace='films')), re_path(r'^trip/$', RedirectView.as_view(url='/trips/')), path(r'trip/', include('posts.urls.trip_urls')), path(r'trips/', include('posts.urls.trip_urls', namespace='trips')), - #path(r'review/', include('posts.urls.review_urls')), - #re_path(r'^review/$', RedirectView.as_view(url='/reviews/')), - #path(r'reviews/', include('posts.urls.review_urls', namespace='review-list')), re_path(r'^guide/$', RedirectView.as_view(url='/guides/')), path(r'guides/', include('posts.urls.guide_urls', namespace='guides')), path(r'guide/', include('posts.urls.guide_urls')), @@ -66,22 +73,16 @@ urlpatterns = [ path(r'essays/', include('posts.urls.essay_urls', namespace='essay-list')), path(r'range/', include('posts.urls.range_urls', namespace='range')), path(r'friends/', include('posts.urls.friends_urls', namespace='friends')), - #path(r'how-to/', include('posts.urls.craft_urls')), - #re_path(r'^how-to/$', RedirectView.as_view(url='/how-to/')), - #path(r'how-tos/', include('posts.urls.craft_urls', namespace='craft')), path(r'book-notes/', include('books.urls')), - #path(r'people/', include('people.urls')), path(r'dialogues/', include('sightings.urls', namespace='sightings')), path(r'field-notes/', include('posts.urls.field_note_urls', namespace='fieldnote')), path(r'src/', include('posts.urls.src_urls', namespace='src')), - 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(), {'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')), - #path(r'<path>/<slug>/', PageDetailView.as_view()), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) |