Hello,

I have these models:

class Player(models.Model):
    .....

class PlayerM(Player):
    ...

If I do PlayerM.objects.all() e get all PlayerM objects and for
Player.objects.all() I get all Player and PlayerM as expected.

How can get only the objects of type Player (only retrieve the objects
that were created with Player() constructor)?

Regards,

Luis

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to