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 flag to differ superuser or other user.

I don't what to use that because i am using that flag throughout the 
application to show settings menu.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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to