You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
687 B
19 lines
687 B
# -*- coding: utf-8 -*-
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', 'proj.views.home', name='home'),
|
|
url(r'^login/', 'registration.backends.default.views.LoginView'),
|
|
url(r'^logout/', 'registration.backends.default.views.LogoutView'),
|
|
url(r'^profile/$', 'accounts.views.profile'),
|
|
url(r'^accounts/', include('registration.backends.default.urls')),
|
|
# admin part
|
|
url(r'^admin/', include('proj.admin_urls')),
|
|
)
|
|
|
|
# ajax urls
|
|
urlpatterns += patterns('',
|
|
url(r'^register/', 'registration.backends.default.views.RegisterAjaxView'),
|
|
url(r'^profile/change-password/', 'accounts.views.change_password'),
|
|
) |