mirror of
https://github.com/django/django.git
synced 2025-09-04 17:50:44 +00:00
Replaced "not PY3" by "PY2", new in six 1.4.0.
This commit is contained in:
parent
4292097078
commit
365c3e8b73
27 changed files with 47 additions and 49 deletions
|
@ -420,7 +420,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
|
|||
'conv': django_conversions,
|
||||
'charset': 'utf8',
|
||||
}
|
||||
if not six.PY3:
|
||||
if six.PY2:
|
||||
kwargs['use_unicode'] = True
|
||||
settings_dict = self.settings_dict
|
||||
if settings_dict['USER']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue