- Language: en
42 results for add in version 2.1
-
Django’s cache framework
- … add_key' , 'Initial value' ) >>> cache . add ( 'add_key' , 'New value …
-
Using the Django authentication system
- … add” form and add an object is limited to users with the “add” permission for that …
-
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 …
-
Many-to-many relationships
- … add ( p1 , p2 ) >>> a2 . publications . add ( p3 ) Adding a second time is OK, it will …
-
Translation
- … add_arguments ( self , parser ): super () . add_arguments ( parser ) parser . add_argument ( '--extra-keyword' , dest …
-
Migrations
- … add or remove columns. On slower hardware this can be worse than a minute per million …
-
Advanced testing topics
- … add_arguments(cls, parser) class method and add custom arguments by calling parser.add_argument() inside …
-
Built-in class-based generic views
- … adds the object being displayed to the template, but you can override it to send …
-
Customizing authentication in Django
- … add some additional profile information, you could simply subclass django.contrib.auth.models.AbstractUser and add your custom profile …