Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Latest commit

 

History

History
46 lines (33 loc) · 774 Bytes

File metadata and controls

46 lines (33 loc) · 774 Bytes

djangoTutorial

1. To get started

pip install django
pip install pipenv

2. In the folder - Create skeleton

pipenv install django
django-admin startproject djangoProject .

3. Run

python manage.py runserver

It should look like this at localhost:8000 image

4. Create APP

python manage.py startapp playground

It will add playground in the directory.

5. django-debug-toolbar

Reference

On no such table: django_session error run :

python manage.py makemigrations
python manage.py migrate