Dear all,

I have an inheritance model as such:

class User(models.Model)

class Staff(User)

Now I already have the instance of User inside view:

user = User.objects.create(name="Joe")

now how do I relate this user instance to the staff instance?

I tried looking in the documentation but can not find anything about it.

Thank you very much in advance.

-- 
If you can't believe in God the chances are your God is too small.

Read my blog: http://joshuajava.wordpress.com/
Follow us on twitter: http://twitter.com/scrum8

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to