Jetzt loslegen. Gratis!
oder registrieren mit Ihrer E-Mail-Adresse
Django von Mind Map: Django

1. Project

1.1. App

1.1.1. View

1.1.1.1. views.py

1.1.1.1.1. render function

1.1.2. templates

1.1.3. urls.py

1.1.4. models

1.1.4.1. models.py

1.1.4.1.1. database table

1.2. Composition

1.2.1. settings.py

1.2.1.1. Database Setting

1.2.1.1.1. DATABASES

1.2.2. templates

1.2.3. urls.py

1.2.3.1. url hooking

2. Databases

2.1. SQLite

2.2. Object Relational Mapper

2.2.1. objects_all()

2.2.2. objects()

2.2.3. get()

2.3. Migration

3. Templates

3.1. library

3.1.1. django.template

3.1.1.1. engines[]

3.1.1.2. render()

3.1.1.2.1. dictionary

3.1.2. django.template.loader

3.1.2.1. from_string()

3.2. Syntax

3.2.1. for ... in ...

3.2.1.1. endfor

3.2.2. load static

3.2.3. extends ...

3.2.4. block ...

3.2.4.1. endblock

3.2.5. static

3.2.6. url ..., ...

4. Commands

4.1. Server 실행

4.1.1. python manage.py runserver [port]

4.2. App 생성

4.2.1. python manage.py startapp [projectname]

4.2.2. Database 처리

4.2.2.1. python manage.py migrate

4.2.2.1.1. Table 생성

4.2.2.1.2. 적용되지 않은 migration을 모두 적용함

4.2.2.2. python manage.py makemigrations [projectname]

4.2.2.3. python manage.py sqlmigrate [projectname] [number]

4.2.2.4. python manage.py shell

4.3. 프로젝트 생성

4.3.1. django-admin startproject [projectname]

5. Models

5.1. Schema 생성

5.2. Model

5.2.1. save()

5.2.2. objects.all()

5.2.3. attributes

5.2.3.1. choice_set

5.2.3.1.1. all()

5.2.3.1.2. count()