Topic Text   Topic Comments (0)   Topic Properties   Topic Information asdfdfjklsdfajjk@163...
Topic title: Test from east. Tuesday September 21, 2010 03:15:00

Download topic text | View in monospace font | Tab width set to 8 (change to 4)

Files in topic: (view all files)  
htdocs/css/common.css   {+13,-0}
templates/accounts/login.html   {+43,-25}
urls.py   {+7,-1}

[Add General Comment] to topic.

File urls.py (Revision 0.1) [Add File Comment] [<<] [Top]
 
Line 114 Line 114
114 114
115 # Authentication and accounts 115 # Authentication and accounts
116 (r'^account/login/$', 'djblets.auth.views.login', 116 (r'^account/login/$', 'djblets.auth.views.login',
117 {'next_page': '/dashboard/'}), 117 {'next_page': '/dashboard/',
118 'extra_context': {'BUILTIN_AUTH': settings.BUILTIN_AUTH}}),
118 (r'^account/logout/$', 'django.contrib.auth.views.logout', 119 (r'^account/logout/$', 'django.contrib.auth.views.logout',
119 {'next_page': settings.LOGIN_URL}), 120 {'next_page': settings.LOGIN_URL}),
120 (r'^account/preferences/$', 'reviewboard.accounts.views.user_preferences',), 121 (r'^account/preferences/$', 'reviewboard.accounts.views.user_preferences',),
 
 
Line 125 Line 126
125 (r'^account/register/$', 'djblets.auth.views.register', 126 (r'^account/register/$', 'djblets.auth.views.register',
126 {'next_page': '/dashboard/'}), 127 {'next_page': '/dashboard/'}),
127 ) 128 )
129 else:
130 urlpatterns += patterns('',
131 (r'^account/register/$',
132 'django.views.generic.simple.redirect_to',
133 {'url': '/account/login/'}))
128 134
129 # Add static media if running in DEBUG mode 135 # Add static media if running in DEBUG mode
130 if settings.DEBUG: 136 if settings.DEBUG:
 
File urls.py (Revision 0.1) [Add File Comment] [<<] [Top]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.