Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

138
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda