- Language: en
31 results for string in version 5.2
-
Translation
- … string as a translation string without translating it. The string is later translated from a variable …
-
Form Assets (the Media class)
- … strings String paths used to specify assets can be either relative or absolute. If a path …
-
Testing tools
- … string ( "index.html" ) with self . assertTemplateUsed ( template_name = "index.html" ): render_to_string …
-
Cryptographic signing
- … string" ) 'My string:YMD-FR6rof3heDkFRffdmG4pXbAZSOtb-aQxg3vmmfc' >>> signer . unsign ( "My string …
-
Serializing Django objects
- … string , ** options ): if isinstance ( stream_or_string , bytes ): stream_or_string = stream_or_string . decode …
-
Templates
- … string ( template_name , context = None , request = None , using = None ) [source] render_to_string() loads a template …
-
URL dispatcher
- … string. A to_python(self, value) method, which handles converting the matched string into the type …
-
Sending email
- … string. message : A string. from_email : A string. If None , Django will use the value …
-
How to use sessions
- … string keys, note that using non-string keys in request.session won’t work as expected …
-
Django’s cache framework
- … string, or as a list. In this example, the cache is shared over Memcached instances …