Django 2.0 - Not a valid view function or pattern name (Customizing Auth views)

前端 未结 2 1170
孤街浪徒
孤街浪徒 2020-12-29 06:19

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

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-29 06:29

    Perhaps when specifying {% url 'appname:views' %} you specified the wrong appname

    For example, like:

    wrong - {% url 'accuant:dashboard' %}
    right - {% url 'account:dashboard' %}
    

提交回复
热议问题