Re: Using models from another project/site

2008-09-13 Thread Donn
You are some kind of wonderful. Thanks for that, it has really helped me! \d --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com

Re: Using models from another project/site

2008-09-13 Thread Karen Tracey
On Sat, Sep 13, 2008 at 8:00 AM, Donn <[EMAIL PROTECTED]> wrote: > > Extra info: > > I have many Projects that equate to 'websites'. > Each has it's own database in Mysql. > > I want one Project to be our Admin that let's us set some stuff that the > other > websites (projects) read and act upon.

Re: Using models from another project/site

2008-09-13 Thread Donn
Extra info: I have many Projects that equate to 'websites'. Each has it's own database in Mysql. I want one Project to be our Admin that let's us set some stuff that the other websites (projects) read and act upon. (Hence OP needing to access a model from another Project) If I setup each

Using models from another project/site

2008-09-13 Thread Donn
I am getting confused by terms, but this is the basic need: 1. In a base dir I have site1 and site2 2. I am in site2 (views) and I want to use the models defined in site1 3. from site1.models import Blah -- seems to work without error. 4. I get an error on stuff like this: p = Blah.objects.all()