Closed trueskawka closed 7 years ago
In section Moderating your comments
You'll also need to import login_required at the beginning of the file: from django.contrib.auth.decorators import login_required
from django.contrib.auth.decorators import login_required
is superfluous, as it was already imported in Homework: secure your website (https://djangogirls.gitbooks.io/django-girls-tutorial-extensions/content/authentication_authorization/#authorizing-addedit-of-posts first snippet).
In section Moderating your comments
is superfluous, as it was already imported in Homework: secure your website (https://djangogirls.gitbooks.io/django-girls-tutorial-extensions/content/authentication_authorization/#authorizing-addedit-of-posts first snippet).