summaryrefslogtreecommitdiff
path: root/django/srpproject/urls.py
blob: a2da7126a65b899573986d5e98a450db22345901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
from srpproject.srp import views

urlpatterns = patterns('',
    # Example:
    # (r'^srpproject/', include('srpproject.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/(.*)', admin.site.root),
    (r'^srp/register/salt/$', views.register_salt),
    (r'^srp/register/user/$', views.register_user),
    (r'^srp/handshake/$', views.handshake),
    (r'^srp/authenticate/$', views.verify),
    (r'^srp/login/$', views.login_page),
    (r'^srp/register/$', views.register_page),
)