RedirectView.as_view(url='/winter_school/leaders/apply', permanent=True), name='old_become_leader', ), url(r'^profile/membership/$', views.PayDuesView.as_view(), name='pay_dues'), url(r'^profile/waiver/$', views.SignWaiverView.as_view(), name='initiate_waiver'), url( r'^(?P<activity>.+)/leaders/apply/$', views.LeaderApplyView.as_view(), name='become_leader', ), url(r'^trips/(?P<pk>\d+)/$', views.TripView.as_view(), name='view_trip'), url(r'^trips.rss$', feeds.UpcomingTripsFeed(), name='rss-upcoming_trips'), # By default, `/trips/` shows only upcoming trips, and `/trips/all` shows *all* trips # Both views support filtering for trips after a certain date, though url(r'^trips/$', views.UpcomingTripsView.as_view(), name='upcoming_trips'), url(r'^trips/all/$', views.AllTripsView.as_view(), name='all_trips'), url(r'^trips/signup/$', views.SignUpView.as_view(), name='trip_signup'), url( r'^trips/signup/leader/$', views.LeaderSignUpView.as_view(), name='leader_trip_signup', ), url(r'^preferences/discounts/$', views.DiscountsView.as_view(), name='discounts'), url( r'^preferences/lottery/$',
# General views (anyone can view or only participants with info) path('profile/edit/', views.EditProfileView.as_view(), name='edit_profile'), path( 'leaders/apply/', RedirectView.as_view(url='/winter_school/leaders/apply', permanent=True), name='old_become_leader', ), path('profile/membership/', views.PayDuesView.as_view(), name='pay_dues'), path('profile/waiver/', views.SignWaiverView.as_view(), name='initiate_waiver'), re_path( r'^(?P<activity>.+)/leaders/apply/$', views.LeaderApplyView.as_view(), name='become_leader', ), re_path(r'^trips/(?P<pk>\d+)/$', views.TripView.as_view(), name='view_trip'), path('trips.rss', feeds.UpcomingTripsFeed(), name='rss-upcoming_trips'), # By default, `/trips/` shows only upcoming trips, and `/trips/all` shows *all* trips # Both views support filtering for trips after a certain date, though path('trips/', views.UpcomingTripsView.as_view(), name='upcoming_trips'), path('trips/all/', views.AllTripsView.as_view(), name='all_trips'), path('trips/signup/', views.SignUpView.as_view(), name='trip_signup'), path( 'trips/signup/leader/', views.LeaderSignUpView.as_view(), name='leader_trip_signup', ), path('preferences/discounts/', views.DiscountsView.as_view(), name='discounts'), path( 'preferences/email/', views.EmailPreferencesView.as_view(), name='email_preferences',