The current URL, app/, didn't match any of these

前端 未结 8 754
無奈伤痛
無奈伤痛 2020-12-17 17:58

I\'m a newbie in Django and just started looking at it before a day by installing Django 1.10 on my local.

I\'ve followed all the instructions of this link https://d

8条回答
  •  半阙折子戏
    2020-12-17 18:49

    In settings.py you have a setting name INSTALLED_APPS-

    Adds you app i.e. polls to it.

    INSTALLED_APPS = [
        'django.contrib.admin',
        'django.contrib.auth',
        ....
        'polls',
    ]
    

提交回复
热议问题