python - What are the default URLs for Django's User Authentication system? -


django's user authentication system ( http://docs.djangoproject.com/en/dev/topics/auth/ ) incredibly helpful in working users. however, documentation talks password reset forms , makes seem takes care of same way user login/logout.

the default url login , logout is

/accounts/login/ & /accounts/logout

are there defaults changing password, or have build functionality?

if @ django.contrib.auth.urls can see default views defined. login, logout, password_change , password_reset.

these urls mapped /admin/urls.py. urls file provided convenience want deploy these urls elsewhere. file used provide reliable view deployment test purposes.

so can hook them in urlconf:

url('^accounts/', include('django.contrib.auth.urls')), 

as want customize views (different form or template), in opinion redefine these urls anyway. it's starting point nevertheless.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -