Re: Use model of non-installed app

2009-02-22 Thread cheeming
There is a hacky way, which is not good practice and can probably mess with your 3rd party photologue stuff: from myproject1.photologue.models import PhotoSize PhotoSize._meta.abstract = True BR Chee Ming On Feb 22, 12:35 am, TiNo wrote: > On Sat, Feb 21, 2009 at 16:04, Alex Gaynor wrote: >

Re: Use model of non-installed app

2009-02-21 Thread TiNo
On Sat, Feb 21, 2009 at 16:04, Alex Gaynor wrote: > > > On Sat, Feb 21, 2009 at 7:50 AM, TiNo wrote: > >> >> Hi, >> >> I am trying to use a model from an app that is on my python path, but >> not in the INSTALLED_APPS setting. But I can't get it to work. >> >> Why would I want this? DRY. I want

Re: Use model of non-installed app

2009-02-21 Thread Alex Gaynor
On Sat, Feb 21, 2009 at 7:50 AM, TiNo wrote: > > Hi, > > I am trying to use a model from an app that is on my python path, but > not in the INSTALLED_APPS setting. But I can't get it to work. > > Why would I want this? DRY. I want to use parts (ex. the 'PhotoSize' > model) of a 3rd party app (ex.

Use model of non-installed app

2009-02-21 Thread TiNo
Hi, I am trying to use a model from an app that is on my python path, but not in the INSTALLED_APPS setting. But I can't get it to work. Why would I want this? DRY. I want to use parts (ex. the 'PhotoSize' model) of a 3rd party app (ex. photologue), without it filling my database with tables and