1, create a class that inherits Model
2, the outer key
3-many
4、Tb.objects.create(**{})
5、Tb.objects.filter().update()
6、delete
7、Tb.objects.filter().first()
8、 -- .all [obj,obj,]
-- .values[{},{}]
-- .values_list[(),()]
9、get
10, the reverse _set
11, F and Q
12、releated_name
13、add
14、exsit
15, across the table __
16、get_or_create
17、set
18、remove
19、clean
20、 obj = User(xx)
obj.save()
21, null = True for the database
22, the foreign key: __ id
23, quotes
24, the command
25, automatically create the third table
26, aggregate query
27, blank = True for django admin
28、filter(id__in=[])
29、distinct
30、 count
31、__str__
32, database field case insensitive
33, QuerySet slice value
34、filter(id_range=[])
35、reverse
36、id__gt
37、id__contains
38, connected MY
39、.last()
40、python manage.py shell
41、order_by()
42、id__lt
43、exclude()
44、name_startswith
45、filter(-id)
46, inert mechanism
47、aggregate
48、flush
49、Q(1|)
50、verbose_name
51, associated with the query
Primary table, table driven
52, to remove an association
53、__regex