- Language: en
9 results for string in version 3.2
-
Custom template tags and filters
- … string [ 0 ] == format_string [ - 1 ] and format_string [ 0 ] in ( '"' , "'" )): raise …
-
Writing custom model fields
- … string. For our Hand example, we could convert the card data to a string of 104 characters …
-
Writing custom django-admin commands
- … string describing the arbitrary arguments passed to the command. The string is used in the usage …
-
Custom Lookups
- … string, and the parameters to be interpolated into that string. In most cases, you don’t need …
-
Custom template backend
- … string ( self , template_code ): try : return Template ( self . engine . from_string ( template_code )) except foobar …
-
Outputting CSV with Django
- … strings with quotes or commas in them. Pass writerow() your raw strings, and it’ll do the right …
-
Writing a custom storage system
- … string is appended to the filename before the extension. get_available_name ( name , max_length …
-
How to deploy with ASGI
- … string; for most Django projects, this will look like myproject.asgi:application . Warning While Django’s default …
-
Error reporting
- … string value to replace sensitive value with. By default it replaces the values of sensitive …