Files
@ e726ff21a8ff
Branch filter:
Location: symposion_app/pinaxcon/urls.py - annotation
e726ff21a8ff
1.7 KiB
text/x-python
Create regidesk app
Shows summary of all attendees with a paid ticket, including
boarding_pass status.
Currently, regidesk allows staff with the requisite permission the
ability to view the checkin status of attendees, and email the user
their boarding pass email.
Included is a view for the user to retrieve their own QR code (in case
they got the plain-text version of the email, they can use this to
download an image to their phone for faster checkin)
Shows summary of all attendees with a paid ticket, including
boarding_pass status.
Currently, regidesk allows staff with the requisite permission the
ability to view the checkin status of attendees, and email the user
their boarding pass email.
Included is a view for the user to retrieve their own QR code (in case
they got the plain-text version of the email, they can use this to
download an image to their phone for faster checkin)
04f246d85071 39b556b7ac4f 04f246d85071 e52dbd9c5449 04f246d85071 bfa94b8c5e55 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 ac7228ec5030 0b1da0e85e83 37a9b37499d8 04f246d85071 04f246d85071 1759a07630a8 1759a07630a8 1759a07630a8 1759a07630a8 d0f4b1c45506 04f246d85071 1759a07630a8 04f246d85071 a3474fd9cd4c 1759a07630a8 1759a07630a8 1759a07630a8 e726ff21a8ff bfa94b8c5e55 bfa94b8c5e55 db3e6bbffed8 22680dd663eb fdfe3c704550 0b1da0e85e83 04f246d85071 01c5292653cc 39b556b7ac4f 39b556b7ac4f 37fb435e1894 37fb435e1894 37fb435e1894 37fb435e1894 ac7228ec5030 04f246d85071 | from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls.static import static
from django.views.generic import RedirectView
from django.views.generic import TemplateView
from django.contrib.flatpages.views import flatpage
from django.contrib import admin
import symposion.views
urlpatterns = [
url(r'^saml2/', include('djangosaml2.urls')),
url(r"^admin/", include(admin.site.urls)),
url(r"^speaker/", include("symposion.speakers.urls")),
url(r"^proposals/", include("symposion.proposals.urls")),
url(r"^reviews/", include("symposion.reviews.urls")),
url(r"^schedule/", include("symposion.schedule.urls")),
url(r"^conference/", include("symposion.conference.urls")),
url(r"^teams/", include("symposion.teams.urls")),
# Required by registrasion
url(r'^tickets/payments/', include('registripe.urls')),
url(r'^tickets/', include('registrasion.urls')),
url(r'^nested_admin/', include('nested_admin.urls')),
url(r'^checkin/', include('regidesk.urls')),
url(r'^pages/', include('django.contrib.flatpages.urls')),
url(r'^dashboard/', RedirectView.as_view(url='/')),
url(r'^$', symposion.views.dashboard, name="dashboard"),
]
if settings.DEBUG:
import debug_toolbar
urlpatterns.insert(0, url(r'^__debug__/', include(debug_toolbar.urls)))
if settings.DEV_MODE:
from django.contrib.auth.views import login, logout
urlpatterns.insert(0, url(r'^accounts/logout', logout, {'template_name': 'admin/logout.html'}))
urlpatterns.insert(0, url(r'^accounts/login', login, {'template_name': 'admin/login.html'}))
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|