Fixes catch-all URLs

This commit is contained in:
Christopher Neugebauer 2016-09-02 09:59:10 +10:00
parent f42aeb707e
commit dc24e64d4f

View file

@ -24,15 +24,17 @@ urlpatterns = [
url(r"^teams/", include("symposion.teams.urls")),
url(r"^boxes/", include("pinax.boxes.urls")),
url(r"^", include("pinax.pages.urls")),
# Required by registrasion
url(r'^register/', include('registrasion.urls')),
url(r'^nested_admin/', include('nested_admin.urls')),
# Demo payment gateway and related features
url(r"^register/pinaxcon/", include("pinaxcon.registrasion.urls")),
url(r"^boxes/", include("pinax.boxes.urls")),
# Catch-all MUST go last.
#url(r"^", include("pinax.pages.urls")),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)