On Apr 23, 10:29 pm, Jay <[EMAIL PROTECTED]> wrote: > In the django docs I see that you can easily make a foreign key by > referencing the model: > > manufacturer = models.ForeignKey('production.Manufacturer') > > ...but it feels like maybe stepping outside the "django way."
You can also just import the model itself from the other app and use it directly. This works just fine as long as you don't need cross references, i.e. app A importing app B importing app A. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---