id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 22075 document customizing authentication views (e.g. login) Chris Jerdonek nobody "The [https://docs.djangoproject.com/en/dev/topics/http/sessions/#setting-test-cookies Setting test cookies] section of the Django documentation illustrates checking cookies using a sample `login()` view function. However, the [https://docs.djangoproject.com/en/dev/topics/auth/customizing/ Customizing authentication in Django] section of the Django documentation doesn't provide any hints as to whether the out-of-the-box `login` view can be extended (e.g. to provide the functionality described in the example above). I think it would be good to say something in the latter section about how one can go about extending or customizing views like the login view, or alternatively, saying that one must copy-and-paste (or fork) to customize it if extending isn't possible. The ""Setting test cookies"" section can then link to this new section. I think it's natural to add a section like this, especially because it's a natural question to ask after reading the example test-cookie code. " Cleanup/optimization closed Documentation 1.6 Normal duplicate cookies,authentication,customizing,login,view chris.jerdonek@… Unreviewed 0 0 0 0 0 0