Project

Profile

Help

Task #2243

Updated by mhrivnak over 7 years ago

Django "User model has some limitations like 30 chars for a username":https://docs.djangoproject.com/en/1.8/ref/contrib/auth/#django.contrib.auth.models.User, so we have to "substitute":https://docs.djangoproject.com/en/1.8/topics/auth/customizing/#auth-custom-user it with our own one. 
 It is probably not a bad idea to keep our implementation as close as possible to the Django one, so we will be able to use mostly as-is the related classes like UserManager, UserAdmin. At the same time we will have some attributes which we currently do not use. 

 In case we use django-guardian for authz, which seems likely, be sure to read this: 

 https://django-guardian.readthedocs.io/en/stable/userguide/custom-user-model.html 

Back