I´m working on a course exercise and I\'m stuck for a few hours and I\'m not sure what is causing the app to break, next, you will find the files involved and perhaps you ca
Perhaps when specifying {% url 'appname:views' %} you specified the wrong appname
For example, like:
wrong - {% url 'accuant:dashboard' %}
right - {% url 'account:dashboard' %}
You've set a namespace for your urls:
app_name = 'account'
You need to use that namespace when reversing urls with reverse
/reverse_lazy
or {% url %}
:
LOGIN_REDIRECT_URL = reverse_lazy('account:dashboard')
LOGIN_URL = reverse_lazy('account:login')
LOGOUT_REDIRECT_URL = reverse_lazy('account:logout')