DevelopmentGuide / djangoTutorial

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 74.3%Language:HTML 25.7%