Django 2.0 'name' is not a registered namespace

前端 未结 6 2446
别那么骄傲
别那么骄傲 2021-02-14 17:46

I\'ve seen this error posted several times, but I can\'t find anyone using Django 2.0 and having the problem.

The problem cropped up when I tried to nest one app inside

6条回答
  •  孤城傲影
    2021-02-14 18:36

    Because the "learning_logs" URL namespaces includes the "users" one, they are considered to be nested. So when you want to find a URL inside "users" you need to use both names in your url tags:

    log out
    

提交回复
热议问题