2012-07-23 4 views

답변

1

예는이 작업을 수행 할 수 있지만 다른 URL을 사용해야합니다 것을 의미하는 인증보기 랩 자신의보기 설정해야합니다 :

# in urls.py 
url(r'^custom-reset/$', 'myapp.views.custom_password_reset', name='custom_password_reset'), 

# in views.py 
from django.contrib.auth.views import password_reset 
def custom_password_reset(request, *args, **kwargs): 
    # Do your custom processing of the args and kwargs 
    return password_reset(request, *args, **kwargs) 
관련 문제