- Language: en
13 results for join in the development version
-
Aggregation
- … joins are used instead of subqueries: >>> book = Book . objects . first () >>> book …
-
Models
- … joined the group. For these situations, Django allows you to specify the model that will …
-
Making queries
- … JOIN s for you automatically, behind the scenes. To span a relationship, use the field …
-
Serializing Django objects
- … join ( row ), dumped_object [ "model" ] def end_object ( self , obj ): dumped_object_str , model …
-
Customizing authentication in Django
- … joins to retrieve the related data. Depending on your needs, a custom user model that …
-
Translation
- … join ( words )) return HttpResponse ( output ) Translation works on variables. Again, here’s an identical example …
-
Performing raw SQL queries
- … joining the model’s “app label” – the name you used in manage.py startapp – to the model …
-
Database access optimization
- … joins that are used. These details may help you find queries that could be rewritten …
-
Many-to-one relationships
- … JOIN in the query: >>> Reporter . objects . filter ( article__headline__startswith = "This …
-
Migrations
- … joined. While editing migration dependencies, you can inadvertently create an inconsistent history state where a migration …
-
Django’s cache framework
- … joined using colons to produce a final string: def make_key ( key , key_prefix , version …
-
Form handling with class-based views
- … join ( self . accepted_media_types )} ) return super () . dispatch ( request , * args , ** kwargs ) def form_invalid ( self …
-
Advanced testing topics
- … join ( temp_storage_dir , "my_file.png" ) self . file = create_file ( self . filename ) class RemoveImageTests …