insert a / between agenda and agenda-url
This commit is contained in:
parent
7e076dc6c4
commit
fb63d64d02
@ -13,14 +13,20 @@
|
|||||||
from django.conf.urls.defaults import *
|
from django.conf.urls.defaults import *
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
from django.views.generic import RedirectView
|
||||||
|
|
||||||
admin.autodiscover()
|
admin.autodiscover()
|
||||||
handler500 = 'openslides.utils.views.server_error'
|
handler500 = 'openslides.utils.views.server_error'
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
(r'^admin/', include(admin.site.urls)),
|
(r'^admin/', include(admin.site.urls)),
|
||||||
(r'^$', 'agenda.views.overview'),
|
# frontpage
|
||||||
(r'^agenda', include('agenda.urls')),
|
(r'^$', RedirectView.as_view(
|
||||||
|
url='agenda/',
|
||||||
|
permanent = False,
|
||||||
|
)),
|
||||||
|
|
||||||
|
(r'^agenda/', include('agenda.urls')),
|
||||||
(r'', include('application.urls')),
|
(r'', include('application.urls')),
|
||||||
(r'', include('participant.urls')),
|
(r'', include('participant.urls')),
|
||||||
(r'', include('assignment.urls')),
|
(r'', include('assignment.urls')),
|
||||||
|
Loading…
Reference in New Issue
Block a user