Django 2.0 'name' is not a registered namespace

前端 未结 6 2448
别那么骄傲
别那么骄傲 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:41

    Try to change your app_name='' in learning_logs/urls.py. (Create if there is not any.)

    In the first learning_logs app you forgot s in the end (e.g. app_name = 'learning_logs')

提交回复
热议问题