daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Dec 11th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from django.conf.urls.defaults import patterns, url
  2. from views import *
  3.  
  4. urlpatterns = patterns('',
  5.     url(r'^accounts/clientarea/?$', 'carat.apps.clientarea.views.client_area', name="client_area"),
  6.     url(r'^accounts/signup', signup, name="signup"),
  7.     url(r'^accounts/login', user_login, name="user_login"),
  8.     url(r'^accounts/logout', user_logout, name='user_logout'),
  9.     url(r'^accounts/profile', account_profile, name='account_profile'),
  10.     url(r'^accounts/passreset', password_reset, name='forgot_password1'),
  11.     url(r'^accounts/passresetdone',password_reset_done, name='forgot_password2'),
  12.     url(r'^accounts/passresetconfirm/(?P<uidb36>[-\w]+)/(?P<token>[-\w]+)/?', password_reset_confirm, name='forgot_password3'),
  13.     url(r'^accounts/passresetcomplete', password_reset_complete, name='forgot_password4'),
  14.     url(r'^accounts/changepassword', password_change, name='change_password'),
  15.     url(r'^accounts/password/change-done', password_change_done, name='password_change_done'),
  16. )
  17.  
  18.  
  19. from django.conf.urls.defaults import patterns, include
  20. from django.conf import settings
  21.  
  22. CONF_MODULE = '%s.conf' % settings.PROJECT_MODULE_NAME
  23. APPS_MODULE = '%s.apps' % settings.PROJECT_MODULE_NAME
  24.  
  25. urlpatterns = patterns('',
  26.     (r'', include('%s.common.urls.admin' % CONF_MODULE)),
  27.     (r'', include('%s.urls' % CONF_MODULE)),
  28.     (r'', include('%s.accounts.urls' % APPS_MODULE)),
  29. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand