- Language: en
51 results for _meta in version 3.1
-
Migration Operations
- … Meta class. bases is an optional list of other classes to have this model inherit …
-
Django 1.8 release notes
- … meta . get_all_related_objects () [<ManyToOneRel: polls.choice>] >>> p . _meta . get_all_related …
-
Coding style
- … Meta should appear after the fields are defined, with a single blank line separating the fields …
-
Multiple databases
- … meta . app_label in self . route_app_labels or obj2 . _meta . app_label in self …
-
The Django admin site
- … Meta class to satisfy the validation on the ModelForm . Note If your ModelForm and ModelAdmin …
-
QuerySet API reference
- … Meta . You can override this on a per- QuerySet basis by using the order_by method …
-
Django documentation contents
- … meta API Related objects reference Model class reference Model Meta options Model instance reference QuerySet …
-
Model instance reference
- … meta . concrete_fields ): values = list ( values ) values . reverse () values = [ values . pop () if f . attname in field …
-
Using the Django authentication system
- … Meta class, you can also create permissions directly. For example, you can create the can_publish …
-
Serializing Django objects
- … Meta : unique_together = [[ 'first_name' , 'last_name' ]] class Book ( models . Model …