user3108063
user3108063

Reputation: 85

django user table - is it better to create custom one?

I saw someone wrote a user account/authentication (in github).

The reason he wrote it, he said, is that he does not like normal users and admin user share a table. (He did not use User model)

I am new in python django. Is it better to do it his way or is this not really necessary?

Upvotes: 0

Views: 65

Answers (1)

rafaponieman
rafaponieman

Reputation: 1630

Not really necessary, the Django provided authentication app is really good, even more, from Django 1.5 on you can provide your own user model, before it was necessary to create an additional model (profile), but now you can just replace the model with one of your own and add any fields you need.

Upvotes: 1

Related Questions