You can import User from django.contrib.auth.models

The save method of the Person class needs to create a User object
programatically, e.g. User.objects.create_user(username, email,
password)

Then you can call super(Person, self).save()

This should give you enough to figure out the rest, but if not I have a
working app that's very similar to what you're trying to do. I'll see
if I can clean it up and post it as an example.


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