X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/29f2eef0ba05968f84c3afad30e1fa105fc56ed3..refs/heads/django-4.2:/sommitrealweird/urls.py?ds=sidebyside diff --git a/sommitrealweird/urls.py b/sommitrealweird/urls.py index 7313793..bcfc7f0 100644 --- a/sommitrealweird/urls.py +++ b/sommitrealweird/urls.py @@ -23,7 +23,7 @@ urlpatterns = [ # (r'^sommitrealweird/', include('sommitrealweird.foo.urls')), # Uncomment this for admin: - re_path(r'^$', bpcms.views.document_view, {'slug': 'index'}), + re_path(r'^$', bpcms.views.document_view, {'path': 'index'}), re_path(r'^media/(?P.*)$', django.views.static.serve, {'document_root': MEDIA_ROOT, 'show_indexes': True}), re_path(r'^static/(?P.*)$', django.views.static.serve, {'document_root': STATIC_ROOT, 'show_indexes': True}), re_path(r'^admin/', admin.site.urls),