Your example is sparse to the point of being a tad obtuse, but I think I get what you're asking.
Unless you reference modelTemp directly from inside exe1, you don't need to import it. If exe1 had a foreignKey to modelTemp, you'd need to import modelTemp. Otherwise, you don't. -joe On 1/22/07, ashwoods <[EMAIL PROTECTED]> wrote: > > > sorry, i have no idea what you are trying to do. is that python? > plz explain. > > On Jan 22, 5:08 pm, "johnny" <[EMAIL PROTECTED]> wrote: > > If I have the following: > > > > model1 > > import modelTemp > > class exe > > (class exe uses a foreignKey from modelTemp) > > > > model2 > > import model1.exe > > class exe1 > > (class exe1 uses a foreignKey from exe) > > > > Question I have is, do I have to import modelTemp for model2 also? > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---