symposion_app/pinaxcon/raffle/urls.py
Joel Addison 20083bcb16 Raffle improvements
Add flag to enable/disable raffle display on dashboard.
Add link from raffle winner to attendee profile.
Add URL for single raffle and base raffle path.
2020-01-23 14:52:28 +10:00

11 lines
442 B
Python

from django.conf.urls import url
from pinaxcon.raffle import views
urlpatterns = [
url(r"^$", views.raffle_view, name="raffle-home"),
url(r'^tickets/', views.raffle_view, name="raffle-tickets"),
url(r'^draw/(?P<raffle_id>[0-9]+)/$', views.draw_raffle_ticket, name="raffle-draw"),
url(r'^draw/redraw/([0-9]+)/$', views.raffle_redraw, name="raffle-redraw"),
url(r'^draw/', views.draw_raffle_ticket, name="raffle-draw"),
]