diff options
author | Felipe Reyes <freyes@suse.com> | 2014-07-16 17:50:03 +0200 |
---|---|---|
committer | Felipe Reyes <freyes@suse.com> | 2014-08-06 14:34:53 +0200 |
commit | af49cf1f156e68dcd8d34a3de59c40ee5bd12b66 (patch) | |
tree | 5ec16171b2eaedc5c95da3b5e4fe2042d8f351d8 /HACKING.rst | |
parent | b4d0310807562b57b8df1acb8f74bc46ea776996 (diff) | |
download | horizon-af49cf1f156e68dcd8d34a3de59c40ee5bd12b66.tar.gz |
Replace force_unicode with force_text
Django changed the name to force_unicode and it's only available in
python2 as an alias of force_text. The new name is available since
Django 1.4.2
Closes-Bug: #1345642
Change-Id: Ida8c545ceec7c31999f2497d540a0dc5a653d286
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HACKING.rst b/HACKING.rst index b413c8a23..fdebbd93f 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -12,7 +12,7 @@ Horizon Style Commandments django.core.urlresolvers.reverse_lazy, django.template.loader.render_to_string, django.utils.datastructures.SortedDict, - django.utils.encoding.force_unicode, + django.utils.encoding.force_text, django.utils.html.conditional_escape, django.utils.html.escape, django.utils.http.urlencode, |