Skip to content
Snippets Groups Projects
Forked from infrastruktur / warpinfra
173 commits behind the upstream repository.
urls.py 484 B
from django.conf.urls import url
from warpauth.views import main, login, reset_password, warp_food

urlpatterns = [
    # Authentication Pages
    url(r'^login/$', login.login_view, name='index'),
    url(r'^logout/$', login.logout_view, name='index'),
    url(r'^reset_password/$', reset_password.gen_token, name='index'),

    url(r'^reset_password/(?P<reset_hash>\w+)/$', reset_password.change_password, name='index'),

    # Main Page
    url(r'^$', main.index, name='index'),

]