Skip to content

2. Docs

Tirtharaj Sinha edited this page Feb 5, 2023 · 1 revision

Run application for the first time.

python manage.py init
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Run Application

python manage.py runserver

If everything go accordingly and does not throw error you are mostly done.

Open Your web Browser and put http://127.0.0.1:5000 and press enter you should show see a welcome screen.

Migrate database

python manage.py makemigrations
python manage.py migrate

Create a new Super User or admin

python manage.py createsuperuser
  • To Know more run
python manage.py --help
Clone this wiki locally