Skip to content

Commit

Permalink
fix unicode error in python2
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Aug 2, 2017
1 parent 1343e46 commit a468ed0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions osmchadjango/supervise/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ def test_aoi_changesets_feed_view(self):
ChangesetFactory.create_batch(
51,
harmful=False,
user='çãoéí',
bbox=Polygon(((0, 0), (0, 0.5), (0.7, 0.5), (0, 0))),
)
response = self.client.get(
Expand Down
2 changes: 2 additions & 0 deletions osmchadjango/supervise/views.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import unicode_literals

from django.contrib.gis.geos import GEOSGeometry, Polygon
from django.contrib.gis.feeds import Feed
from django.core.urlresolvers import reverse
Expand Down

0 comments on commit a468ed0

Please sign in to comment.