Hi,

I have a ManyToMany relationship between 2 classes as below:

class Places(meta.Model):
   ....

class People(meta.Model):
   places = ManyToManyField(Places)

>From command line, everything is OK. But within a view, an instance of
the People class will not have a method get_places_list(). I print out
the __dir__ of the instance and its not there. Has anybody else seen
this before? I've printed out the instance's __class__ attribute and it
is the right class.

Thanks,
Martin


--~--~---------~--~----~------------~-------~--~----~
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