Of Tom Evans
Sent: Friday, February 17, 2012 10:12
To: django-users@googlegroups.com
Subject: Re: Dumb newbie question
On Fri, Feb 17, 2012 at 4:15 PM, Babatunde Akinyanmi
wrote:
> I'm also a noob. If I had code that would use the same models then I
> would keep everything inside
On Fri, Feb 17, 2012 at 4:15 PM, Babatunde Akinyanmi
wrote:
> I'm also a noob. If I had code that would use the same models then I
> would keep everything inside one app but divide them into modules
>
I would say that is slightly sub optimal.
There is nothing wrong with an app that consists sole
I'm also a noob. If I had code that would use the same models then I
would keep everything inside one app but divide them into modules
On 2/17/12, Bob Carlson wrote:
> I'm well into beginning building my actual app after going through the
> tutorial,
> but I have no feel yet for the answer to thi
I'm also a noob. If I had code that would use the same models then I
would keep everything inside one app but divide them into modules
On 2/17/12, Bob Carlson wrote:
> I'm well into beginning building my actual app after going through the
> tutorial,
> but I have no feel yet for the answer to thi
Yes, they just need to import the models from the module that they need. Be
aware, of circular imports, though. That is when one module imports from
another which also imports from the first one. Check the imports at the top
to make sure the module from which you are importing classes, modles, defs
I'm well into beginning building my actual app after going through the tutorial,
but I have no feel yet for the answer to this question.
Can apps share a set of models? My application neatly divides into three pieces,
but all the pieces share the same data. Should these be 3 apps or 1? Can apps
6 matches
Mail list logo