Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
Django Rest Framework Auth

I'm working on a web application project that uses Django rest framework for its backend and angular 2 for the front end, I want to know if it's recommended to use Django User model for the authentification of my login form (I mean save all user in Django admin), or should I make another User model specifically for the app ?

P.S: The application will be using the JWT token for authentification.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

From django docs:

If you’re starting a new project, it’s highly recommended to set up a custom user model, even if the default User model is sufficient for you. This model behaves identically to the default user model, but you’ll be able to customize it in the future if the need arises:

It is highly recommended that you create the Custom User Model instead of going with default User model provided by django unless you are very sure that you wont need any changes in the functionalities of the user model.

You can also extend the User model using OneToOneRelationship if all you wanted is adding extra fields.

Even if you add custom user model, it can still be added and viewed in Django Admin.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!