Russell Keith-Magee wrote:
You have imported the 'source' model to allow access to referral type
as a Python module - but have you added 'source' to INSTALLED_APPS? If
you don't do this step, Django doesn't know about the model, so it
can't validate the foreign key.
Of course. Thanks for the
On 1/3/07, Rubic <[EMAIL PROTECTED]> wrote:
referral.referralsource: 'referralType' has relation with model
ReferralType, which has not been installed
1 error found.
You have imported the 'source' model to allow access to referral type
as a Python module - but have you added 'source' to INSTA
I'm responding to a thread over 60 days old:
http://tinyurl.com/ycmj9l
Guillermo implies that a model should be easily shared
between Django applications via import. However, if I
attempt to move Model class to a shared module, the
model won't validate. For example:
class ReferralType(mode
Thanks for your responses, I think Guillermo got the point, that's what
I was asking!
--~--~-~--~~~---~--~~
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@googlegro
On 10/30/06, Vortexmind <[EMAIL PROTECTED]> wrote:
>
> Hi
> I'm new to django and I've finished the tutorial. I want now to develop
> an application of mine, but before starting I have a question. In the
> tutorial (the polls app) we define a model (Pool, Choice) inside an app
> (polls app).
>
> B
Cheers,
The nice thing is, you can import your models to any application.
For instance, you have app1/gallery with models.py inside that defines
Photo and Gallery, and you have app2/photorating with models.py
inside. You need for your Rating model in app2 to use the Photo model
of app1.
No worr
Hi
I'm new to django and I've finished the tutorial. I want now to develop
an application of mine, but before starting I have a question. In the
tutorial (the polls app) we define a model (Pool, Choice) inside an app
(polls app).
But what I can do if I must share a model between multiple apps? Fo
7 matches
Mail list logo