Unverified Commit aa849dfe authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Fix uniqueness of url namespaces

Namespaces should be unique, but we include newsletters twice.
By overriding the namespace of the urlconfig we fix this problem.
parent 2517eafc
......@@ -62,7 +62,7 @@ urlpatterns = [
url(r'^nieuws/agenda/vcal\.php', DeprecationFeed()),
url(r'^newsletters/', include('newsletters.urls')),
url(r'^nieuwsbrief/', include('newsletters.urls')), # for legacy reasons
url(r'^nieuwsbrief/', include('newsletters.urls', namespace='newsletters-legacy'),), # for legacy reasons
url(r'^association$', TemplateView.as_view(
template_name='singlepages/association.html'), name='association'),
url(r'^', include([ # 'association' menu
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment