How use model objects in ver1.9 WITHOUT an app and get rid off "Model class doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS." error mssg?

2016-04-04 Thread Chris Seberino
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

Re: How use model objects in ver1.9 WITHOUT an app and get rid off "Model class doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS." error mssg?

2016-04-04 Thread Mike Dewhirst
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

Re: How use model objects in ver1.9 WITHOUT an app and get rid off "Model class doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS." error mssg?

2016-04-05 Thread Chris Seberino
> > > 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