EditEventView.as_view(), name='edit_event'), url(r'^event/(?P<event_id>\d+)/$', EventView.as_view(), name="event"), url(r'^event/delete/(?P<event_id>\d+)/$', DeleteEventView.as_view(), name="delete_event"), # urls for already persisted occurrences url(r'^occurrence/(?P<event_id>\d+)/(?P<occurrence_id>\d+)/$', OccurrenceView.as_view(), name="occurrence"), url(r'^occurrence/cancel/(?P<event_id>\d+)/(?P<occurrence_id>\d+)/$', CancelOccurrenceView.as_view(), name="cancel_occurrence"), url(r'^occurrence/edit/(?P<event_id>\d+)/(?P<occurrence_id>\d+)/$', EditOccurrenceView.as_view(), name="edit_occurrence"), # urls for unpersisted occurrences url(r'^occurrence/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', OccurrencePreview.as_view(), name="occurrence_by_date"), url(r'^occurrence/cancel/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', CancelOccurrenceView.as_view(), name="cancel_occurrence_by_date"), url(r'^occurrence/edit/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', CreateOccurrenceView.as_view(), name="edit_occurrence_by_date"), # feed urls url(r'^feed/calendar/upcoming/(.*)/$',
url(r'^event/(?P<event_id>\d+)/$', EventView.as_view(), name="event"), url(r'^event/delete/(?P<event_id>\d+)/$', DeleteEventView.as_view(), name="delete_event"), # urls for already persisted occurrences url(r'^occurrence/(?P<event_id>\d+)/(?P<occurrence_id>\d+)/$', OccurrenceView.as_view(), name="occurrence"), url(r'^occurrence/cancel/(?P<event_id>\d+)/(?P<occurrence_id>\d+)/$', CancelOccurrenceView.as_view(), name="cancel_occurrence"), url(r'^occurrence/edit/(?P<event_id>\d+)/(?P<occurrence_id>\d+)/$', EditOccurrenceView.as_view(), name="edit_occurrence"), # urls for unpersisted occurrences url(r'^occurrence/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', OccurrencePreview.as_view(), name="occurrence_by_date"), url(r'^occurrence/cancel/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', CancelOccurrenceView.as_view(), name="cancel_occurrence_by_date"), url(r'^occurrence/edit/(?P<event_id>\d+)/(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<hour>\d+)/(?P<minute>\d+)/(?P<second>\d+)/$', CreateOccurrenceView.as_view(), name="edit_occurrence_by_date"), # feed urls url(r'^feed/calendar/upcoming/(.*)/$', UpcomingEventsFeed(), name='upcoming_events_feed'),