Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 14f323e

Browse files
Add Django models mindmap (GH-90, GH-225)
1 parent 89533cf commit 14f323e

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

‎mindmaps/django-models.mmd

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
Django models
3+
---
4+
5+
mindmap
6+
root(Django models)
7+
::)Definition(
8+
settings
9+
::icon(fas fa-gear)
10+
::{{connect to DB}}
11+
dbs[sqlite<br>postgres<br>mysql]
12+
::icon(fas fa-database)
13+
::{{Define a model}}
14+
models.Field
15+
null
16+
blank
17+
choices
18+
editable
19+
help_text
20+
primary_key
21+
unique
22+
verbose_name
23+
validators
24+
fields[Fields]
25+
txt(Text fields)
26+
CharField
27+
max_length
28+
SlugField
29+
TextField
30+
::{{special cases}}
31+
FileField
32+
ImageField
33+
URLField
34+
num(Numeric fields)
35+
IntegerField
36+
DecimalField
37+
datetime(Date/time fields)
38+
DateField
39+
TimeField
40+
DateTimeField
41+
rel(Relationships)
42+
::[1-to-1]
43+
::[1-to-N: foreign key]
44+
::[m2m: many to many]
45+
through
46+
::icon(fas fa-table)
47+
migrations
48+
::{{Schema migrations}}
49+
::{{Data migrations}}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /