python - Tastypie + Password reset -


i'm building app python backend (django/tastypie) , frontend built angular.js. i'd create password reset form can't find proper way it. seems password reset view depends django's templates. (doc)

i can't find clean way integrate django reset method without using of templates (i want use own templates angular.js).

any advice on how tackle problem?

it seems question has been unanswered quite time don't know if still looking solution came across blog post here provides pretty solution problem.

essentially need create 2 api endpoints: 1 initiate password reset (send email link reset form) , accept new password.

the link in email route dedicated page in angular app along token (something /reset_password/:reset_token). strip of token , send form data second endpoint.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -