How to Create Super User account in any Django Website?

1,317 views
Skip to first unread message

Mamarth Briton

unread,
Oct 8, 2013, 4:08:55 PM10/8/13
to django...@googlegroups.com
Hi,

I found many Journalist creating super user account in many Django website. Does any one know how to create super user account in Django website. Such tonganoxiemirror.com is a Django site where I want to create a super user account or a Staff account without support of that site's admin. I didn't got any answer from that site's administrator to create a Staff Account.

Russell Keith-Magee

unread,
Oct 8, 2013, 9:33:44 PM10/8/13
to Django Users
Hi Mamarth,

Put it this way -- if you're already an admin user, the answer will be pretty obvious. If you're not an admin user, you can't -- and that's by design.

Creating a super user account in Django is just a matter of flicking the "superuser" flag on an existing user's account -- however, you'll need to have an existing super user account (or an admin user with permission to modify User objects) to be able to do this. 

If you've got access to the computer on which the site is installed, you can use the createsuperuer management command [1] to create a new user. 


If you don't have an existing admin or superuser account, and you don't have access to the machine hosting the site, then you've got a problem. You'll need the assistance of the site administrator to go any further.

Yours.
Russ Magee %-)



On Wed, Oct 9, 2013 at 4:08 AM, Mamarth Briton <mbri...@gmail.com> wrote:
Hi,

I found many Journalist creating super user account in many Django website. Does any one know how to create super user account in Django website. Such tonganoxiemirror.com is a Django site where I want to create a super user account or a Staff account without support of that site's admin. I didn't got any answer from that site's administrator to create a Staff Account.

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/398ee05c-2f41-4a68-9265-49c8647c8239%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Harjot Mann

unread,
Oct 9, 2013, 12:28:26 AM10/9/13
to django...@googlegroups.com
Use "python manage.py createsuperuser" command and give the username,
emailis and password. You are done.

--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
Reply all
Reply to author
Forward
0 new messages