Skip to content

LalithaMV/django-custom-user-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Custom User Example

This is an example Django project that demonstrates the configurable User model available in Django 1.5. It is inspired by Dr. Russell Keith-Magee's talk at DjangoCon US 2013 Red User, Blue User, MyUser, auth.User.

Getting Started

Clone this repository:

$ git clone https://github.com/jonathanchu/django-custom-user-example.git
$ cd django-custom-user-example

Create a virtual environment for this project and install Django (1.5.4 recommended):

$ mkvirtualenv customuser
(customuser) $ pip install django

Run syncdb and create a superuser when prompted:

(customuser) $ python manage.py syncdb
...

Run runserver:

(customuser) $ python manage.py runserver

Finally, open up http://127.0.0.1:8000/admin in your browser and login with the superuser just created. You should see your custom user under "Accounts".

Screenshots

http://i.imgur.com/As2xDEg.png

http://i.imgur.com/uaG4qaH.png

Comments/Feedback

Suggestions for any modifications, please feel free to fork and contribute!

Please file bugs at https://github.com/jonathanchu/django-custom-user-example/issues.

About

An example Django project showing how to implement custom users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published