- Language: en
43 results for add in version 1.8
-
The “local flavor” add-ons
- … add-ons Historically, Django has shipped with django.contrib.localflavor – assorted pieces of code that are useful …
-
Using the Django authentication system
- … add” form and add an object is limited to users with the “add” permission for that …
-
Django’s cache framework
- … add_key' , 'Initial value' ) >>> cache . add ( 'add_key' , 'New value …
-
Making queries
- … add() method on the field to add a record to the relation. This example adds …
-
Models
- … add the name of the module that contains your models.py . For example, if the models …
-
Advanced testing topics
- … add_arguments(cls, parser) class method and add custom arguments by calling parser.add_argument() inside …
-
Translation
- … add_arguments ( self , parser ): super ( Command , self ) . add_arguments ( parser ) parser . add_argument ( '--extra …
-
Migrations
- … add or remove columns. On slower hardware this can be worse than a minute per million …
-
Many-to-many relationships
- … add ( p1 , p2 ) >>> a2 . publications . add ( p3 ) Adding a second time is OK: >>> a2 . publications …
-
Built-in class-based generic views
- … adds the object being displayed to the template, but you can override it to send …