I'm trying to create a simple stripped down skeleton Django application.
Django ver1.9 forces
everything to be in apps which are not needed for this application.
When I try using models I get an error like the following:
"Model class doesn't declare an explicit app_label and isn't in an
applic
On 5/04/2016 7:23 AM, Chris Seberino wrote:
I'm trying to create a simple stripped down skeleton Django
application. Django ver1.9 forces
everything to be in apps which are not needed for this application.
When I try using models I get an error like the following:
"Model class doesn't declare
>
>
> Just think of an app actually being a namespace rather than an app.
> Django uses INSTALLED_APPS entries just like a search path added to the
> BASE_DIR so it can find your models.
>
>
Ah yes thanks. That helped a lot. I just needed to basically mention
the directory in settings.py and
3 matches
Mail list logo