X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d712899291a689f0d4087ce5f36ef9011b03e5ef..248250233ed99390536a6d427758d8cb606c8b57:/apps/suggest/views.py diff --git a/apps/suggest/views.py b/apps/suggest/views.py index 4ad17046d..ac45cea34 100644 --- a/apps/suggest/views.py +++ b/apps/suggest/views.py @@ -11,7 +11,7 @@ from suggest import forms from suggest.models import Suggestion # FIXME - shouldn't be in catalogue -from catalogue.views import LazyEncoder +from catalogue.views import LazyEncoder #@require_POST @@ -31,5 +31,4 @@ def report(request): 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))