-urlpatterns = patterns('',
- url(r'^$', ListView.as_view(model=Event), name='events'),
- #url(r'^(?P<slug>[^/]+)/$', DetailView.as_view(model=Event), name='news'),
-)
+urlpatterns = [
+ url(r'^$', views.events, name='events'),
+ url(string_concat('^', _('past'), '/$'), views.events_past, name='events_past'),
+]