Joined June 2012
·

Charlie Denton

Incuna
·
UK
·
·
·

Posted to Class-based Authentication Views over 1 year ago

Thank you! Very terse and clean.

A couple of issues:

  • the auth_login and render_to_response lines are missing the closing bracket.
  • the sensitive_post_parameters import is missing the word from.
  • resolve_url is not imported. (I think it should be from django.shortcuts.)
  • FormView, View should be imported from django.views.generic

Nothing major, really, just thought you might want to update the code. Anyway! I plan to use a derivitive of this in my project, so thanks again!

Achievements
79 Karma
0 Total ProTip Views