Opened 5 years ago

Closed 5 years ago

#20764 closed Uncategorized (invalid)

changing .is_superuser field in models

Reported by: alwinraj230@… Owned by: nobody
Component: Python 2 Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


By default from project directory by running 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.

Change History (1)

comment:1 Changed 5 years ago by Tim Graham

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top