Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

01 Creating a new Django project

scotwk edited this page May 8, 2015 · 2 revisions

Make the project:

django-admin startproject elevennote

Create some initial tables:

python manage.py migrate

Run the server:

python manage.py runserver

And connect at http://localhost:8000/ to verify that everything is working. (Note: you need to type that URL into a browser where Django is running. If you are viewing this on a different machine than Django is running you can't just click that link)

Create a superuser:

python manage.py createsuperuser
...
python manage.py runserver

Connect to the admin at http://localhost:8000/admin and use your superuser credentials you just created.