On 10/25/06, Levi McCallum <[EMAIL PROTECTED]> wrote:
>
> Are applications aware of each other? I.E. Can they call each other?

Yes, with some minor restrictions.

Generally, they are just another python module, so a view from one
application can refer to a model from another, or a model can add a
foreign key to a model in a different application.

The only limitation to this is in the form of circular references. For
obvious reasons, circular references between models can cause some
difficulties. While it is possible to generate a circular reference
between models in a single application, Django prevents circular
references between models in different applications.

In practice, this shouldn't really matter - if there is a circular
reference, then the two models aren't decoupled, so it doesn't make
sense to have them in separate applications.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to