0

I'm very new to django so please bear with me. I'm in the process of creating a website and have written the authentication system for it using Django's 'User' model (which I customised). Now I'm wondering how does one use the same 'User' model for making a customised 'profile page' for a user i.e. When a user signs up he's only asked to provide his/her email and password. However, on successful login the user is to be greeted with a sort of a dashboard where he/she can upload media, follow people etc. This will require that the user model be extended with different fields.

Wouldn't this cause a database conflict?

Thanks

2 Answers2

0

I might this link to resource can help you, search before for a CRUD tutorial for Django.

Marcos R. Guevara
  • 5,258
  • 6
  • 19
  • 44
0

If you use the blank=true option on the additional User fields then you can create and validate a User without specifying values for those fields. You may also need to use the null=true field, depending on how you want those blank values stored in the database.

Egat
  • 87
  • 13