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

前端 未结 8 653
無奈伤痛
無奈伤痛 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:41

    I too had same problem going through the official docs tutorial. I was using cloud 9. What I realised before I was able to solve this problem was that while creating the workspace I already chose django(ie by the time my workspace was created, django had already been installed) And going through the tutorial, I again executed $ django-admin startproject mysite thereby having another layer of django with multiple directories and unavoidably the confusion. My solution was to delete everything and start all over.

    Since this problem is common to many people, I suggest that django tutorial docs should be more explicit on this.

    I hope this help somebody.

提交回复
热议问题