symposion_app/pinaxcon/raffle/urls.py

12 lines
442 B
Python
Raw Normal View History

2019-01-02 01:44:57 +00:00
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"),
2019-01-02 01:44:57 +00:00
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"),
]