Question

django admin password, couldn't find docs on password since admin is installed by default.

Posted April 23, 2015 5.3k views
Ubuntu Django One-Click Install Apps

Maybe I have overlook. Help me with the user and password please.
Thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers

Hi! Have you created a new django app (Writing Your First Django App) after creating the droplet? If so, you can run the following command to migrate the database tables and create a superuser:

cd /home/django/django_project
python manage.py syncdb

Check out How To Use the Django One-Click Install Image.

I am getting the error when creating superuser because earlier I updated to django==1.8.
I destroyed the droplet and started another.
I can log in to admin now.
I am following the tutorial on djangoproject site and create a polls app.
However the docs was for version 1.8.
I did pip install Django==1.8, the installation didn’t throw any errors so I thought it was ok.
So if I am following the docs on djangoproject.com, how do I upgrade to 1.8.
Thanks

Submit an Answer