from django.conf.urls import url

from django.views.generic import RedirectView
from outreach import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^mindset/$', views.mindset, name='mindset'),
    url(r'^edit_mindset_modules/$',
        views.update_mindset_modules,
        name='update_mindset_modules'),
    url(r'^edit_mindset_photos/$',
        views.update_mindset_photos,
        name='update_mindset_photos'),
    url(r'^edit_outreach_event_types/$',
        views.manage_outreach_event_types,
        name='manage_outreach_event_types'),
    url(r'^update_mindset_profile_additions/$',
        views.update_mindset_profile_additions,
        name='update_mindset_profile_additions'),
    url(r'^tutoring/$', views.tutoring, name='tutoring'),
    url(r'^hide_event/(?P<url_stem>[a-z,_]+)/$',
        views.hide_outreach_event,
        name='hide_outreach_event'),
    url(r'^manage_outreach_events/(?P<url_stem>[a-z,_]+)/$',
        views.manage_outreach_events,
        name='manage_outreach_events'),
    url(r'^(?P<url_stem>[a-z,_]+)/$',
        views.outreach_event,
        name='outreach_event'),
]
