- Language: en
40 results for _meta in version 1.8
-
Coding style
- … Meta should appear after the fields are defined, with a single blank line separating the fields …
-
Multiple databases
- … meta . app_label == 'auth' or \ obj2 . _meta . app_label == 'auth' : return …
-
Customizing authentication in Django
- … Meta attribute . This example Task model creates three custom permissions, i.e., actions users can or cannot …
-
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 …
-
Serializing Django objects
- … Meta : unique_together = (( 'first_name' , 'last_name' ),) class Book ( models . Model …
-
Many-to-many relationships
- … Meta : ordering = ( 'title' ,) class Article ( models . Model ): headline = models . CharField ( max_length = 100 ) publications …
-
django.core.urlresolvers utility functions
- … meta-data about the resolved URL. If the URL does not resolve, the function raises …
-
Integrating Django with a legacy database
- … Meta class tells Django not to manage each table’s creation, modification, and deletion: class …