Fix regidesk base url

Simplify regex for URL per Django warning (remove starting /).
This commit is contained in:
Joel Addison 2019-09-29 20:46:21 +10:00
parent e2411ab4c5
commit 475e02eeaa

View file

@ -13,5 +13,5 @@ urlpatterns = [
url(r"^checkin/$", views.CheckInLanding.as_view(), name="check_in_scanner"),
url(r"^checkin/(?P<access_code>[A-Z0-9]{6})/$", views.check_in_overview, name="check_in_user_view"),
url(r"^checkin/([A-Z0-9]{6})/badge$", views.checken_in_badge, name="check_in_badge"),
url(r"^/?$", views.redir_main, name="checkin_choose"),
url(r"^$", views.redir_main, name="checkin_choose"),
]