Re: Importing models from outside applications

2007-01-10 Thread johnnie pittman
Hey Russ and Waylan, Thanks for the responses. Russ, I actually did that: import sys sys.path.append("path/to/project") from project.app import models complained about environment settings. But when I dug into fixing that, I over complicated the matter. Waylan's response saw through my over c

Re: Importing models from outside applications

2007-01-10 Thread Waylan Limberg
On 1/10/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On 1/10/07, johnnie pittman <[EMAIL PROTECTED]> wrote: > > > I'm looking to find out if there's a method to access django models in other > > applications outside of the django project structure. What I'm looking to > > do is import

Re: Importing models from outside applications

2007-01-10 Thread Russell Keith-Magee
On 1/10/07, johnnie pittman <[EMAIL PROTECTED]> wrote: > I'm looking to find out if there's a method to access django models in other > applications outside of the django project structure. What I'm looking to > do is import a model from one of the apps in my project: > > from project.app impor

Importing models from outside applications

2007-01-09 Thread johnnie pittman
I've done a good amount of searching the archives and the wiki on the site looking for the answer to this question. If this has already been answered, please accept my apology for repeating the question and please point me to the answer. I'm looking to find out if there's a method to access djang