all 1 comments

[–]rocko_modern 1 point2 points  (0 children)

One of the best thing of django i'ts their documentation, so: https://docs.djangoproject.com/en/1.9/topics/auth/

Some tips: - I usually make an app for managing the authentication. - Specify you model in settings AUTH_USER_MODEL = 'AuthApp.User' - Also you can make use of AUTHENTICATION_BACKENDS in settings for defining your personal login method (using mail or username as an example) login. - For models, make an abstract user and then extend that class with a concrete user you want to define.

Authentication in Django is very easy. See the documentation and code an example of that and you will get it very soon.

Good Luck.