changing .is_superuser field in models
|Reported by:||alwinraj230@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
By default from project directory by running manage.py createsuperuser comment i am able to create a superuser,but the .is_superuser flag is the default django one.I don't what to use that because i am using that flag throughout the application.Instead ,I added a field in my userprofile models,the field is .is_primary_user.Is any way is their to control that,so that if i run createsuperuser comment,it should update the .is_primary_user field by "1" in userprofile model.