- Language: en
7 results for string in version 3.0
-
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 …
-
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 …