I have two applications in my project: project app1 models.py app2 models.py
------------------------------------------------ project/app1/models.py: class Cls1(models.Model): ... ------------------------------------------------ project/app2/models.py: from project.app1.models import Cls1 class Cls2(models.Model): c = models.ForeignKey(Cls1) ------------------------------------------------ But when in my views I try to do: c1 = Cls1.objects.get(pk=1) clss = c1.cls2_set.all() I get: 'Cls1' object has no attribute 'cls2_set' --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---