Closed trueskawka closed 7 years ago
I. Section Improving the layout - homework:
Edit the template blog/templates/blog/post_detail.html to only show the edit buttons for authenticated users
is superfluous, as it was already done in the basic DjangoGirls tutorial (http://tutorial.djangogirls.org/en/django_forms/#security last code snippet)
II. A typo in Login users second passage is:
In your mysite/urls.py add a url url(r'^accounts/login/$', django.contrib.auth.views.login).
url(r'^accounts/login/$', django.contrib.auth.views.login)
should be:
In your mysite/urls.py add a url url(r'^accounts/login/$', django.contrib.auth.views.login, name='login').
url(r'^accounts/login/$', django.contrib.auth.views.login, name='login')
III. A typo in the second code snippet for More on authenticated users
is: include django.contrib.auth.views
include django.contrib.auth.views
should be: import django.contrib.auth.views
import django.contrib.auth.views
I. is still there in the "secure your website" section and should probably be removed II. is OK now III. is also OK now
Thanks! :sparkles:
I. Section Improving the layout - homework:
is superfluous, as it was already done in the basic DjangoGirls tutorial (http://tutorial.djangogirls.org/en/django_forms/#security last code snippet)
II. A typo in Login users second passage is:
should be:
III. A typo in the second code snippet for More on authenticated users
is:
include django.contrib.auth.views
should be:
import django.contrib.auth.views