Eventplanner: Grid / Translation

This commit is contained in:
Martin Bauer
2013-06-30 11:01:12 +02:00
parent d4ba7d9a60
commit 01a7f5c16f
21 changed files with 3882 additions and 195 deletions

View File

@@ -10,8 +10,8 @@ import intern_area.views
import website.views
import eventplanner.views
import settings
from django.conf.urls.static import static
admin.autodiscover()
@@ -32,8 +32,10 @@ urlpatterns = patterns('',
url(r'^website/$', website.views.home_view),
url(r'^login/$', website.views.login_view),
url(r'^logout/$', website.views.logout_view),
url(r'^events/$', eventplanner.views.events_view),
url(r'^eventParticipation/$', eventplanner.views.event_participation_list ),
url(r'^events/$', eventplanner.views.eventplanning_view),
url(r'^eventParticipation/$', eventplanner.views.event_participation_detail ),
url(r'^eventParticipation/(\w+)/$', eventplanner.views.event_participation_detail ),
url(r'^eventParticipation/(\w+)/(\d+)$', eventplanner.views.event_participation_detail ),
)
url(r'^events/grid$', eventplanner.views.events_grid ),
url(r'^events/(?P<pk>\d+)$', eventplanner.views.EventUpdate.as_view() ),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)