Skip to content
Browse files

Fixed python3 breakage introduced by c0a2388.

  • Loading branch information...
1 parent da235c9 commit bdca4944647a734fab592ab08c6311e365231287 @bmispelon bmispelon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/translation/
2 django/utils/translation/
@@ -202,7 +202,7 @@ def activate(language):
language and installs it as the current translation object for the current
- if isinstance(language, basestring):
+ if isinstance(language, six.string_types):
if language == 'zh-cn':
"The use of the language code 'zh-cn' is deprecated. "

0 comments on commit bdca494

Please sign in to comment.
Something went wrong with that request. Please try again.