Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
urls.py 794 B

# Changed for Django 1.6
#from django.conf.urls.defaults import *
from django.conf.urls import patterns, url

urlpatterns = patterns('userprofile.views',
    url (r'^$', 'index', name="userprofile-home"),
    url (r'^contact/create$', 'createContact', name="userprofile-create-contact"),
    url (r'^contact/delete/(?P<id>[\d]+)$', 'deleteContact', name="userprofile-delete-contact"),
    url (r'^contact/edit/(?P<id>[\d]+)$', 'editContact', name="userprofile-edit-contact"),

    url (r'^trigger/create$', 'create', name="userprofile-create"),
    url (r'^trigger/delete/(?P<id>[\d]+)$', 'delete', name="userprofile-delete"),
    url (r'^trigger/edit/(?P<id>[\d]+)$', 'edit', name="userprofile-edit"),

    url (r'^manage_password$', 'managePassword', name="userprofile-manage-password"),

)