pip install django # Install Django Packages
django-admin startproject project_name # Create a Project
cd project_name
python manage.py makemigrations # Create new migrations
python manage.py migrate # Apply Migrations
python manage.py createsuperuser # Create User for admin
python manage.py runserver # Start Server
python manage.py startapp sub_module # Create a sub app
# Start a Project.
django-admin startproject <project name>
# cd into <project name>
# Create the application
python manage.py startapp <app name>
# Start using the files.
pip install Django==3.1.5
Django is a python framework for creating websites
use spring
pip install Django==3.2.2
duplicate key value violates unique constraint "loan_loanapplication_pkey"
DETAIL: Key (id)=(1) already exists.
Django is a web development platform in python programming language.
not enough arguments for format string
Conflicting 'dcalyyrestaurantadditionalcontacts' models in application 'panel': <class 'panel.models.DcalyyRestaurantAdditionalContacts'> and <class 'panel.DCALYY_models.DCALYYRestaurantAdditionalContacts'>.
'Widget' object has no attribute 'template_name'
pip install Django==3.1.4
no such table: jango_accessrecord