In one of my applications while defining models I have made django
provided "User" class as super class for my custom user class (myuser)
as shown below. In the database, I see that there is a pointer record
pointing to User table (in my custom "myuser" table). The problem
here, when I reset my application database, it does not delete entries
in parent class ie. User (from django.auth.contrib). It can be
resolved by resetting database for auth. Would it be possible to
delete all relevant entries in auth while resetting my application
database?

Also, is there any better way to define my custom user class?

class myuser(User):
    ....
    ....


Thanks

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