-urlpatterns = patterns('events.views',
- url(r'^$', 'events', name='events'),
- url(string_concat('^', _('past'), '/$'), 'events_past', name='events_past'),
-)
+urlpatterns = [
+ url(r'^$', views.events, name='events'),
+ url(string_concat('^', _('past'), '/$'), views.events_past, name='events_past'),
+]