DjangoGirls / tutorial-extensions

Additional tasks for tutorial
https://tutorial-extensions.djangogirls.org
Other
163 stars 203 forks source link

Secure your website - superfluous homework and typos #44

Closed trueskawka closed 7 years ago

trueskawka commented 8 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).

should be:

In your mysite/urls.py add a url 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

should be: import django.contrib.auth.views

helenst commented 8 years ago

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: