mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18363 -- Added Python 3 compatibility layer.
Thanks Vinay Sajip for the support of his django3 branch and Alex Gaynor, kezabelle, YorikSar for the review.
This commit is contained in:
@@ -65,7 +65,8 @@ Python 2 with unicode literals or Python 3::
|
||||
|
||||
my_string = b"This is a bytestring"
|
||||
my_unicode = "This is an Unicode string"
|
||||
|
||||
|
||||
See also :doc:`Python 3 compatibility </topics/python3>`.
|
||||
|
||||
.. admonition:: Warning
|
||||
|
||||
|
||||
Reference in New Issue
Block a user