Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Add Django models mindmap (GH-90, GH-225)
Browse files Browse the repository at this point in the history
  • Loading branch information
shorodilov committed Mar 4, 2024
1 parent 89533cf commit 14f323e
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions mindmaps/django-models.mmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
Django models
---

mindmap
root(Django models)
::)Definition(
settings
::icon(fas fa-gear)
::{{connect to DB}}
dbs[sqlite<br>postgres<br>mysql]
::icon(fas fa-database)
::{{Define a model}}
models.Field
null
blank
choices
editable
help_text
primary_key
unique
verbose_name
validators
fields[Fields]
txt(Text fields)
CharField
max_length
SlugField
TextField
::{{special cases}}
FileField
ImageField
URLField
num(Numeric fields)
IntegerField
DecimalField
datetime(Date/time fields)
DateField
TimeField
DateTimeField
rel(Relationships)
::[1-to-1]
::[1-to-N: foreign key]
::[m2m: many to many]
through
::icon(fas fa-table)
migrations
::{{Schema migrations}}
::{{Data migrations}}

0 comments on commit 14f323e

Please sign in to comment.