Source

django-user-extension / example /

Filename Size Date modified Message
..
testapp
545 B
0 B
136.0 KB
503 B
69 B
5.0 KB
245 B
This is a minimal example demonstrating the use of this package. To try it out,
do "python manage.py runserver". Then go to http://localhost:8000/admin.

There are two subclasses of the User model. I've created a staff user in each
(user1 and user2, passwords the same as username). If you log in as one of
those users and then go to http://localhost:8000/ you'll see that it tells
you which class the user is.

You can also log in as admin (password: admin) to add new users to the
subclasses to see that it works and the extra fields show up.