/djangoTutorial

fundamentals of python-django covered in small project. includes creating a webapp using default template provided by django and using debig-toolbar

Primary LanguagePython

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