- Language: en
16 results for dict in version 3.2
-
Request and response objects
- … dict () Returns a dict representation of QueryDict . For every (key, list) pair in QueryDict , dict …
-
TemplateResponse and SimpleTemplateResponse
- … dict of context data. By default, returns the same dict . Override this method in order …
-
The Django template language: for Python programmers
- … dict of items to be merged into the context. It defaults to an empty list …
-
PostgreSQL specific model fields
- … dict (for an empty default) or a callable that returns a dict (such as a function …
-
The sitemap framework
- … dict , priority = None , changefreq = None , protocol = None ) [source] The django.contrib.sitemaps.GenericSitemap class allows you to create …
-
The Django admin site
- … dict of arguments to pass to the field at construction time. Since that’s a bit abstract …
-
Model field reference
- … dict for JSONField , use a function: def contact_default (): return { "email" : "to1@example.com …
-
Model instance reference
- … dict ( zip ( field_names , values )) return instance def save ( self , * args , ** kwargs ): # Check how the current …
-
The syndication feed framework
- … dict of attributes to add to the root feed element ( feed / channel ). SyndicationFeed.add_root_elements …
-
Widgets
- … dict of months to use in the “months” select box. The keys of the dict …