- Language: en
55 results for str in version 3.2
-
Model instance reference
- … str__() Model. __str__ () [source] The __str__() method is called whenever you call str() on an object …
-
Porting your apps from Django 0.96 to 1.0
- … str__ with __unicode__ Replace your model’s __str__ function with a __unicode__ method, and make …
-
Django Utils
- … str ( s , encoding = 'utf-8' , strings_only = False , errors = 'strict' ) [source] Returns a str object …
-
Unicode data
- … str() and force_str() . This is slightly different semantics from Python’s builtin str() function …
-
LayerMapping data import utility
- … str' field. ['float', 'int', 'str'] >>> print …
-
Writing your first Django app, part 2
- … str__ ( self ): return self . question_text class Choice ( models . Model ): # ... def __str__ ( self ): return self …
-
The Django admin site
- … str__() representation of each object. There are four types of values that can be used …
-
GEOS API
- … str HEX / HEXEWKB str WKB / EWKB buffer GeoJSON str For the GeoJSON format, the SRID …
-
Django 3.0 release notes
- … str() and force_str() are deprecated. Ignore this deprecation if your code supports Python 2 as the behavior …
-
Making queries
- … str__ ( self ): return self . name class Author ( models . Model ): name = models . CharField ( max_length = 200 ) email …