- Language: en
11 results for string in version 5.0
-
How to create custom template tags and filters
- … string [ 0 ] == format_string [ - 1 ] and format_string [ 0 ] in ( '"' , "'" )): raise …
-
How to create custom model fields
- … string. For our Hand example, we could convert the card data to a string of 104 characters …
-
How to write custom lookups
- … string, and the parameters to be interpolated into that string. In most cases, you don’t need …
-
How to create custom django-admin commands
- … string describing the arbitrary arguments passed to the command. The string is used in the usage …
-
How to implement a custom template backend
- … string ( self , template_code ): try : return Template ( self . engine . from_string ( template_code )) except foobar …
-
How to create CSV output
- … strings with quotes or commas in them. Pass writerow() your raw strings, and it’ll do the right …
-
How to manage error reporting
- … string value to replace sensitive value with. By default it replaces the values of sensitive …
-
How to configure and use logging
- … string or other form for consumption by human beings or another system There are various …
-
How to use Django’s CSRF protection
- … string begin with the name we want? if ( cookie . substring ( 0 , name . length + 1 ) === ( name …
-
How to deploy with ASGI
- … string; for most Django projects, this will look like myproject.asgi:application . Warning While Django’s default …
-
How to write a custom storage class
- … string is appended to the filename before the extension. get_available_name ( name , max_length …