Re: RuntimeError: Model class polls38.polls.models.Question doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

2020-12-03 Thread Ryan Gedwill
you may also need to change polls/apps.py to have a config class On Thu, Dec 3, 2020 at 5:31 PM Ryan Gedwill wrote: > you at least need to add 'polls' to your INSTALLED_APPS in settings.py. > You should also remove the line you put in manage.py - that file should > rarely be touched at all. > >

Re: RuntimeError: Model class polls38.polls.models.Question doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

2020-12-03 Thread Ryan Gedwill
you at least need to add 'polls' to your INSTALLED_APPS in settings.py. You should also remove the line you put in manage.py - that file should rarely be touched at all. This is not a system path problem On Thu, Dec 3, 2020 at 12:38 PM Ennio Santos wrote: > I developed some small web app