Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

What is the proper way to make a User authentication in Django?

I've checked out the Django core user authentication and Django Registration Redux. I'm quite confused on which should I use. Is there any difference on these two? Is there any other option to do the exact same thing?

Chris Freeman
Chris Freeman
Treehouse Moderator 68,441 Points

This is a broad question. According to DjangoPackages.com there are 86 different possible packages. Selection depends on what other aspects you need. OAuth, Email confirmation, custom forms, etc.

1 Answer

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Start with the built-in auth. You can customize the flow/backend if you need to, but the built-in auth is usually good enough. django-registration is a great package but you might not need it. Same with django-allauth.

Thank you Guys