mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +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:
parent
87ff89d12d
commit
5e6ded2e58
5 changed files with 365 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue