from suggest.models import Suggestion
# FIXME - shouldn't be in catalogue
-from catalogue.views import LazyEncoder
+from catalogue.views import LazyEncoder
#@require_POST
response_data = {'success': True, 'message': _('Report was sent successfully.')}
else:
response_data = {'success': False, 'errors': suggest_form.errors}
- print LazyEncoder(ensure_ascii=False).encode(response_data)
return HttpResponse(LazyEncoder(ensure_ascii=False).encode(response_data))