[PYTHON] Touch django

I started studying Flask and Django with books, so I output instead of memos

MTV framework

Model: Heart, database access, etc. (SQlite / MySQL / PostgreSQL / Oracle) Template: Associate request with html View: Routing process

Request-> View-> Model-> Template-> Response

View Routing settings redirect Error handling (404 etc.) Cookies, session concept

Model Model class: Table definition in SQL Fixture (JSON / YAML / XML): Data template migration 1: 1, many: many, 1: many relations, etc. Use variables in {{...}}, {% ...%}

Accept user input easily using Form object flash

Template Can be written in Django code in html Performs processing such as conditional branching by making full use of tags Note that operators are handled differently from python HTML escape, template inheritance (block)

Web application creation procedure

  1. Create View, register routing settings, call Template with render function
  2. Preparation of Template, temp.html

Recommended Posts

Touch django
Django
django update
Django note 4
Django memorandum
django search
Django installation
Django Summary
Django test
Django # 2 (template)
Django Note 5
Django hands-on
django notes
Django Summary
Django basics
Django Shoho
Django defaults
Django + Docker
Django Glossary
Django search
Install Django
Django: References
Django Note 1
Django note 3
Django note 2
Django startup
Django notes
Django NullCharField
Django environment construction
Django ~ settings.py edition ~
Django Heroku Deploy 1
Django HTML Template # 2
Django begins part 1
Django model: ManyToManyField
What is Django? .. ..
Models in Django
Django function-based view
Python Django Tutorial (5)
Django Learning Memo
Python Django Tutorial (2)
First Django Challenge
django makemigarations createsuperuser
Django related sites
Internationalization with django
Django version check
django table creation
Django begins part 4
Django 1.9 for internationalization
CentOS8 --Install --Django
django tutorial memo
[Django] Redo migrate
django environment construction
Django Template notes
Python Django Tutorial (8)
Python Django Tutorial (6)
django default settings
Start Django Tutorial 1
Django HTML template
Django Template Tips
Django girls-3 workflow
Django Project Baseline