Setting The Admin Login.

30 views
Skip to first unread message

Steve Burrus

unread,
Feb 13, 2017, 4:28:45 PM2/13/17
to Django users
 How do I go about setting the username/password for the CURRENT version of the Django Server anyway? It used to be easier to do in earlier versions of Django.

 

Tim Graham

unread,
Feb 13, 2017, 4:42:20 PM2/13/17
to Django users
I guess you're looking for the createsuperuser command: https://docs.djangoproject.com/en/stable/ref/django-admin/#createsuperuser

Steve R Burrus

unread,
Feb 13, 2017, 5:29:49 PM2/13/17
to django...@googlegroups.com
I am sorry Tim but I checked oiut both "creat esuperuser" and "changepassword" commands but  it did no good! Can you please give me a more detailed solution?


--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/Evyu_1IPZ2o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b7d58c4f-307c-4883-9ca6-f424c648223c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Tim Graham

unread,
Feb 13, 2017, 7:26:54 PM2/13/17
to Django users
I'm not sure what you're trying to do.

Steve R Burrus

unread,
Feb 13, 2017, 8:33:17 PM2/13/17
to django...@googlegroups.com
We;ll Tim I like any other Django newb ie just wanna be able to go into the Django admin like I clearly remember doing with past versions of Django. Is there any more advice you can give me for this problem?
 


Tim Graham

unread,
Feb 13, 2017, 9:16:44 PM2/13/17
to Django users, steveb...@gmail.com
Use the createsuperuser command (manage.py createsuperuser) to create a user, then use that username and password to login.

Maybe you want to revisit the tutorial, https://docs.djangoproject.com/en/stable/intro/tutorial02/#creating-an-admin-user.
Reply all
Reply to author
Forward
0 new messages