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 trialJose Torres
1,193 PointsExtending or Substituting the Django User Model
I've been looking around to customise the Django user model to add a couple of fields and make the email field substitute the username but there seems to be too many points of view and non really seem efficient. From the docs I've seen the recommended way of doing this but then I run into problems with no password default values and so on. What is the best approach to this?
and a bunch of SO questions
1 Answer
Jose Torres
1,193 PointsI found a very good article about this that solved my project requirements. Hard to see this is the path of least resistance so +1 for Rails on this area.
Article: http://musings.tinbrain.net/blog/2014/sep/21/registration-django-easy-way/
Jose Torres
1,193 PointsJose Torres
1,193 PointsAlso, please note that I needed to serve this through my API with Djoser.