예제 #1
0
파일: urls.py 프로젝트: ochan1/quark
    url(r'^builder/$', EventBuilderView.as_view(), name='builder'),
    url(r'^add/$', EventCreateView.as_view(), name='add'),
    url(r'^(?P<event_pk>\d+)/$', EventDetailView.as_view(),
        name='detail'),
    url(r'^(?P<event_pk>\d+)/edit/$', EventUpdateView.as_view(), name='edit'),
    url(r'^(?P<event_pk>\d+)/cancel/$', EventCancelView.as_view(),
        name='cancel'),
    url(r'^(?P<event_pk>\d+)/revive/$', event_revive,
        name='revive'),
    url(r'^(?P<event_pk>\d+)/signup/$', EventSignUpView.as_view(),
        name='signup'),
    url(r'^(?P<event_pk>\d+)/unsignup/$', event_unsignup,
        name='unsignup'),
    url(r'^(?P<event_pk>\d+)/attendance/$', AttendanceRecordView.as_view(),
        name='attendance'),
    url(r'^(?P<event_pk>\d+)/email/$', EventEmailerView.as_view(),
        name='email'),
    url(r'^attendance/delete/$', attendance_delete, name='attendance-delete'),
    url(r'^attendance/search/$', attendance_search, name='attendance-search'),
    url(r'^attendance/submit/$', attendance_submit, name='attendance-submit'),
    url(r'^user/(?P<username>[a-zA-Z0-9._-]+)/$',
        IndividualAttendanceListView.as_view(), name='individual-attendance'),
    url(r'^calendar/$', EventListView.as_view(show_all=True,
        template_name='events/calendar.html'), name='calendar'),
    url(r'^leaderboard/$', LeaderboardListView.as_view(), name='leaderboard'),
    url(r'^leaderboard/all-time/$',
        AllTimeLeaderboardListView.as_view(), name='all-time-leaderboard'),
    url(r'^events.ics$', ical, name='ical'),
    url(r'^(?P<event_pk>\d+)/event.ics$', ical, name='event-ical'),
)
예제 #2
0
파일: urls.py 프로젝트: ochan1/quark
from django.conf.urls import patterns
from django.conf.urls import url

from quark.emailer.views import CompanyEmailerView
from quark.emailer.views import EventEmailerView
from quark.emailer.views import HelpdeskEmailerView

urlpatterns = patterns(
    '',
    url(r'^helpdesk/$', HelpdeskEmailerView.as_view(), name='helpdesk'),
    url(r'^events/(?P<event_pk>\d+)/$',
        EventEmailerView.as_view(),
        name='event'),
    url(r'^industry/$', CompanyEmailerView.as_view(), name='company'),
)
예제 #3
0
파일: urls.py 프로젝트: nbailey/quark
from django.conf.urls import patterns
from django.conf.urls import url

from quark.emailer.views import CompanyEmailerView
from quark.emailer.views import EventEmailerView
from quark.emailer.views import HelpdeskEmailerView


urlpatterns = patterns(
    '',
    url(r'^helpdesk/$', HelpdeskEmailerView.as_view(),
        name='helpdesk'),
    url(r'^events/(?P<event_id>\d+)/$', EventEmailerView.as_view(),
        name='event'),
    url(r'^industry/$', CompanyEmailerView.as_view(),
        name='company'),
)
예제 #4
0
파일: urls.py 프로젝트: nbailey/quark
from quark.events.views import ical
from quark.events.views import IndividualAttendanceListView
from quark.events.views import LeaderboardListView

urlpatterns = patterns(
    '',
    url(r'^$', EventListView.as_view(), name='list'),
    url(r'^add/$', EventCreateView.as_view(), name='add'),
    url(r'^(?P<event_pk>\d+)/$', EventDetailView.as_view(),
        name='detail'),
    url(r'^(?P<event_pk>\d+)/edit/$', EventUpdateView.as_view(), name='edit'),
    url(r'^(?P<event_pk>\d+)/signup/$', EventSignUpView.as_view(),
        name='signup'),
    url(r'^(?P<event_pk>\d+)/unsignup/$', event_unsignup,
        name='unsignup'),
    url(r'^(?P<event_pk>\d+)/attendance/$', AttendanceRecordView.as_view(),
        name='attendance'),
    url(r'^(?P<event_pk>\d+)/email/$', EventEmailerView.as_view(),
        name='email'),
    url(r'^attendance/delete/$', attendance_delete, name='attendance-delete'),
    url(r'^attendance/search/$', attendance_search, name='attendance-search'),
    url(r'^attendance/submit/$', attendance_submit, name='attendance-submit'),
    url(r'^user/(?P<username>[a-zA-Z0-9._-]+)/$',
        IndividualAttendanceListView.as_view(), name='individual-attendance'),
    url(r'^calendar/$', EventListView.as_view(show_all=True,
        template_name='events/calendar.html'), name='calendar'),
    url(r'^leaderboard/$', LeaderboardListView.as_view(), name='leaderboard'),
    url(r'^events.ics$', ical, name='ical'),
    url(r'^(?P<event_pk>\d+)/event.ics$', ical, name='event-ical'),
)