- Language: en
45 results for add in version 5.1
-
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 …
-
Customizing authentication in Django
- … add some additional profile information, you could subclass django.contrib.auth.models.AbstractUser and add your custom profile fields …
-
Migrations
- … add a field and remove a model - and then run makemigrations : $ python manage.py makemigrations Migrations …
-
Translation
- … add_arguments ( self , parser ): super () . add_arguments ( parser ) parser . add_argument ( "--extra-keyword" , dest …
-
Many-to-many relationships
- … add ( p1 , p2 ) >>> a2 . publications . add ( p3 ) Adding a second time is OK, it will …
-
Built-in class-based generic views
- … adds the object being displayed to the template, but you can override it to send …
-
Formsets
- … add_fields method. You can override this method to add your own fields or even …