Example #1
0
from django.urls import path

from mftutor.tutor.auth import tutorbest_required
from .views import OwnConfirmationView, ConfirmationTableView, EditNoteView, ConfirmationCardView, ReminderEmailView

urlpatterns = [
    path('', OwnConfirmationView.as_view(), name='own_confirmation'),
    path('table/', tutorbest_required(ConfirmationTableView.as_view()), name='confirmation_table'),
    path('card/', tutorbest_required(ConfirmationCardView.as_view()), name='confirmation_card'),
    path('editnote/', EditNoteView.as_view(), name='confirmation_edit_note'),
    path('reminder/',
         tutorbest_required(ReminderEmailView.as_view()),
         name="confirmation_reminder"),
]
Example #2
0
File: urls.py Project: housa/web
from django.conf.urls import patterns, url
from mftutor.tutor.auth import tutorbest_required, tutor_required
from .views import ShirtOptionView, ShirtPreferenceView, ShirtChoicesView

urlpatterns = patterns('',
    url(r'^options/$', tutorbest_required(ShirtOptionView.as_view()), name='shirt_options'),
    url(r'^choices/$', tutorbest_required(ShirtChoicesView.as_view()), name='shirt_choices'),
    url(r'^$', tutor_required(ShirtPreferenceView.as_view()), name='shirt_preference'),
)
Example #3
0
from django.urls import path

from mftutor.tutor.auth import tutorbest_required
from .views import OwnConfirmationView, ConfirmationTableView, EditNoteView, ConfirmationCardView, ReminderEmailView

urlpatterns = [
    path('', OwnConfirmationView.as_view(), name='own_confirmation'),
    path('table/',
         tutorbest_required(ConfirmationTableView.as_view()),
         name='confirmation_table'),
    path('card/',
         tutorbest_required(ConfirmationCardView.as_view()),
         name='confirmation_card'),
    path('editnote/', EditNoteView.as_view(), name='confirmation_edit_note'),
    path('reminder/',
         tutorbest_required(ReminderEmailView.as_view()),
         name="confirmation_reminder"),
]
Example #4
0
urlpatterns = [
    path('',
         EventListView.as_view(),
         name="events"),
    path('year/<int:year>/',
         EventListView.as_view(),
         name="events_year"),
    path('<int:eventid>/',
         event_detail_view,
         name="event"),
    path('ical/',
         CalendarFeedView.as_view(),
         name="events_ical"),
    path('<int:pk>/rsvplist/',
         tutorbest_required(EventParticipantListView.as_view()),
         name="event_rsvps"),
    path('<int:event>/rsvplist/<int:tutor>/',
         tutorbest_required(EventParticipantEditView.as_view()),
         name="event_rsvp"),
    path('rsvp/<int:pk>/',
         RSVPFormView.as_view(),
         name="rsvpform"),
    path('export/<int:year>/',
         tutorbest_required(BulkExportView.as_view()),
         name="events_export"),
    path('import/',
         tutorbest_required(BulkImportView.as_view()),
         name="events_import"),
    path('<int:pk>/reminder/',
         tutorbest_required(ReminderEmailView.as_view()),
Example #5
0
from django.conf.urls import patterns, url
from mftutor.tutor.auth import tutorbest_required
from mftutor.dump.views import TutorDumpView, RusDumpView, EventsDumpView

urlpatterns = patterns('',
    url(r'^tutor/$', tutorbest_required(TutorDumpView.as_view()), name='dump_tutor'),
    url(r'^rus/$', tutorbest_required(RusDumpView.as_view()), name='dump_rus'),
    url(r'^events/$', tutorbest_required(EventsDumpView.as_view()), name='dump_events'),
)
Example #6
0
from django.urls import path

from mftutor.signup.views import (SignupImportView, SignupListView,
                                  TutorGroupView, GroupLeaderView,
                                  TutorCreateView)
from mftutor.tutor.auth import tutorbest_required

urlpatterns = [
    path('import/',
         tutorbest_required(SignupImportView.as_view()),
         name='signup_import'),
    path('', tutorbest_required(SignupListView.as_view()), name='signup_list'),
    path('groups/',
         tutorbest_required(TutorGroupView.as_view()),
         name='signup_groups'),
    path('groupleader/',
         tutorbest_required(GroupLeaderView.as_view()),
         name='signup_groupleader'),
    path('create/',
         tutorbest_required(TutorCreateView.as_view()),
         name='signup_create'),
]
Example #7
0
from django.conf.urls import patterns, url
from mftutor.tutor.auth import tutorbest_required, tutor_required
from .views import ShirtOptionView, ShirtPreferenceView

urlpatterns = patterns('',
    url(r'^options/$', tutorbest_required(ShirtOptionView.as_view()), name='shirt_options'),
    url(r'^$', tutor_required(ShirtPreferenceView.as_view()), name='shirt_preference'),
)
Example #8
0
from django.urls import path

from mftutor.dump.views import TutorDumpView, RusDumpView, EventsDumpView, GroupsDumpView
from mftutor.tutor.auth import tutorbest_required

urlpatterns = [
    path('tutor/', tutorbest_required(TutorDumpView.as_view()), name='dump_tutor'),
    path('rus/', tutorbest_required(RusDumpView.as_view()), name='dump_rus'),
    path('events/', tutorbest_required(EventsDumpView.as_view()), name='dump_events'),
    path('groups/', tutorbest_required(GroupsDumpView.as_view()), name='dump_groups'),
]
Example #9
0
from django.conf.urls import patterns, url
from mftutor.tutor.auth import tutorbest_required
from .views import event_detail_view, CalendarFeedView, EventListView, \
    RSVPFormView, BulkExportView, BulkImportView, EventParticipantListView, \
    EventParticipantEditView, ReminderEmailView

urlpatterns = patterns(
    '',
    url(r'^$', EventListView.as_view(), name="events"),
    url(r'^year/(?P<year>\d+)/$', EventListView.as_view(), name="events_year"),
    url(r'^(\d+)/$', event_detail_view, name="event"),
    url(r'^ical/$', CalendarFeedView.as_view(), name="events_ical"),
    url(r'^(?P<pk>\d+)/rsvplist/$',
        tutorbest_required(EventParticipantListView.as_view()),
        name="event_rsvps"),
    url(r'^(?P<event>\d+)/rsvplist/(?P<tutor>\d+)/$',
        tutorbest_required(EventParticipantEditView.as_view()),
        name="event_rsvp"),
    url(r'^rsvp/(\d+)/$', RSVPFormView.as_view(), name="rsvpform"),
    url(r'^export/(?P<year>\d+)/$',
        tutorbest_required(BulkExportView.as_view()),
        name="events_export"),
    url(r'^import/$',
        tutorbest_required(BulkImportView.as_view()),
        name="events_import"),
    url(r'^(?P<pk>\d+)/reminder/$',
        tutorbest_required(ReminderEmailView.as_view()),
        name="events_reminder"),
)
Example #10
0
from django.urls import path

from mftutor.signup.views import (
    SignupImportView, SignupListView, TutorGroupView,
    GroupLeaderView, TutorCreateView)
from mftutor.tutor.auth import tutorbest_required

urlpatterns = [
    path('import/', tutorbest_required(SignupImportView.as_view()), name='signup_import'),
    path('', tutorbest_required(SignupListView.as_view()), name='signup_list'),
    path('groups/', tutorbest_required(TutorGroupView.as_view()), name='signup_groups'),
    path('groupleader/', tutorbest_required(GroupLeaderView.as_view()), name='signup_groupleader'),
    path('create/', tutorbest_required(TutorCreateView.as_view()), name='signup_create'),
]
Example #11
0
from django.conf.urls import patterns, url
from mftutor.tutor.auth import tutorbest_required, tutor_required
from .views import ShirtOptionView, ShirtPreferenceView, ShirtChoicesView

urlpatterns = patterns(
    '',
    url(r'^options/$',
        tutorbest_required(ShirtOptionView.as_view()),
        name='shirt_options'),
    url(r'^choices/$',
        tutorbest_required(ShirtChoicesView.as_view()),
        name='shirt_choices'),
    url(r'^$',
        tutor_required(ShirtPreferenceView.as_view()),
        name='shirt_preference'),
)
Example #12
0
from django.urls import path

from mftutor.dump.views import TutorDumpView, RusDumpView, EventsDumpView, GroupsDumpView
from mftutor.tutor.auth import tutorbest_required

urlpatterns = [
    path('tutor/',
         tutorbest_required(TutorDumpView.as_view()),
         name='dump_tutor'),
    path('rus/', tutorbest_required(RusDumpView.as_view()), name='dump_rus'),
    path('events/',
         tutorbest_required(EventsDumpView.as_view()),
         name='dump_events'),
    path('groups/',
         tutorbest_required(GroupsDumpView.as_view()),
         name='dump_groups'),
]
Example #13
0
File: urls.py Project: housa/web
from django.conf.urls import patterns, url
from mftutor.tutor.auth import tutorbest_required
from .views import OwnConfirmationView, ConfirmationTableView, EditNoteView, ConfirmationCardView, ReminderEmailView

urlpatterns = patterns('',
    url(r'^$', OwnConfirmationView.as_view(), name='own_confirmation'),
    url(r'^table/$', tutorbest_required(ConfirmationTableView.as_view()), name='confirmation_table'),
    url(r'^card/$', tutorbest_required(ConfirmationCardView.as_view()), name='confirmation_card'),
    url(r'^editnote/$', EditNoteView.as_view(), name='confirmation_edit_note'),
    url(r'^reminder/$',
        tutorbest_required(ReminderEmailView.as_view()),
        name="confirmation_reminder"),
)
Example #14
0
from __future__ import unicode_literals

from django.conf.urls import patterns, url

from mftutor.signup.views import (SignupImportView, SignupListView,
                                  TutorGroupView, GroupLeaderView,
                                  TutorCreateView)
from mftutor.tutor.auth import tutorbest_required

urlpatterns = patterns(
    '',
    url(r'^import/$',
        tutorbest_required(SignupImportView.as_view()),
        name='signup_import'),
    url(r'^$',
        tutorbest_required(SignupListView.as_view()),
        name='signup_list'),
    url(r'^groups/$',
        tutorbest_required(TutorGroupView.as_view()),
        name='signup_groups'),
    url(r'^groupleader/$',
        tutorbest_required(GroupLeaderView.as_view()),
        name='signup_groupleader'),
    url(r'^create/$',
        tutorbest_required(TutorCreateView.as_view()),
        name='signup_create'),
)