Ticket #2873: ellington-cleanup.diff

File ellington-cleanup.diff, 1.6 KB (added by donspauldingii@…, 18 years ago)

Removes the registration.py and admin_password_reset.py

  • registration.py

     
    1 from django.conf.urls.defaults import *
    2 
    3 urlpatterns = patterns('',
    4     (r'^login/$', 'django.contrib.auth.views.login'),
    5     (r'^logout/$', 'django.contrib.auth.views.logout'),
    6     (r'^login_another/$', 'django.contrib.auth.views.logout_then_login'),
    7 
    8     (r'^register/$', 'ellington.registration.views.registration.signup'),
    9     (r'^register/(?P<challenge_string>\w{32})/$', 'ellington.registration.views.registration.register_form'),
    10 
    11     (r'^profile/$', 'ellington.registration.views.profile.profile'),
    12     (r'^profile/welcome/$', 'ellington.registration.views.profile.profile_welcome'),
    13     (r'^profile/edit/$', 'ellington.registration.views.profile.edit_profile'),
    14 
    15     (r'^password_reset/$', 'django.contrib.auth.views.password_reset'),
    16     (r'^password_reset/done/$', 'django.contrib.auth.views.password_reset_done'),
    17     (r'^password_change/$', 'django.contrib.auth.views.password_change'),
    18     (r'^password_change/done/$', 'django.contrib.auth.views.password_change_done'),
    19 )
  • admin_password_reset.py

     
    1 from django.conf.urls.defaults import *
    2 
    3 urlpatterns = patterns('django.views',
    4     (r'^$', 'registration.passwords.password_reset', {'is_admin_site' : True}),
    5     (r'^done/$', 'registration.passwords.password_reset_done'),
    6 )
Back to Top