Hi,
some time ago i did something similar and wondered to get some problems
using
the query manager. So when i used

class Comment(models.Model):
class VideoComment(Comment):

and then asked
VideoComment.objects.get(id='xyz')
the Manager tried to to look up the Comment Table

My solution was to explicitely set the default manager inside the
derived class like:

class VideoComment(Comment):
   objects = models.Manager()

besides that there seems to be some discussion on inheritance for not
yet
beeing implemented in the development version


hope this helps

knobi


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