urls.py 616 Bytes
Newer Older
1 2 3 4 5 6 7
"""."""

from django.conf.urls import  url
from . import views

urlpatterns = [
    url(r'^$', views.index),
8
    url(r'^homepage$', views.home),  # These endpoints must be different than in-app url
9 10 11
    url(r'^my_info$', views.my_info),
    url(r'^my_shifts$', views.my_shifts),
    url(r'^shifts_exchange$', views.shifts_exchange),
Etienne Freiss committed
12
    url(r'^faqBDM$', views.faqBDM),
13
    url(r'^no_content$', views.no_content),
14
    url(r'^get_shifts_history$', views.get_shifts_history),
15
    url(r'^offer_extra_shift$', views.offer_extra_shift),
16
    url(r'^.*', views.index)  # Urls unknown from the server will redirect to index
17
]