You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Django Girls Tutorial: Extensions, chapter 2: Secure your website / Login user there is a bug. Tutorial says you should write the template in mysite directory (mysite/templates/registration/login.html), but Django doesn't search for templates in that directory.
You can make the folder in blog/templates directory and it will work.
If you do so, remember to change the code also: {% extends "mysite/base.html" %} to {% extends "blog/base.html" %}
The text was updated successfully, but these errors were encountered:
In Django Girls Tutorial: Extensions, chapter 2: Secure your website / Login user there is a bug. Tutorial says you should write the template in mysite directory (
mysite/templates/registration/login.html
), but Django doesn't search for templates in that directory.You can make the folder in
blog/templates
directory and it will work.If you do so, remember to change the code also:
{% extends "mysite/base.html" %}
to{% extends "blog/base.html" %}
The text was updated successfully, but these errors were encountered: