web/views/igeocodable.py
branchtls-sprint
changeset 984 536e421b082b
parent 728 a95b284150d1
child 1138 22f634977c95
equal deleted inserted replaced
983:cf1caf460081 984:536e421b082b
     7 __docformat__ = "restructuredtext en"
     7 __docformat__ = "restructuredtext en"
     8 
     8 
     9 import simplejson
     9 import simplejson
    10 
    10 
    11 from cubicweb.interfaces import IGeocodable
    11 from cubicweb.interfaces import IGeocodable
    12 from cubicweb.common.view import EntityView
    12 from cubicweb.view import EntityView
    13 from cubicweb.selectors import implements
    13 from cubicweb.selectors import implements
    14 
    14 
    15 class GeocodingJsonView(EntityView):
    15 class GeocodingJsonView(EntityView):
    16     id = 'geocoding-json'
    16     id = 'geocoding-json'
    17     binary = True
    17     binary = True