X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d712899291a689f0d4087ce5f36ef9011b03e5ef..42dee4014c452c1f9f6b29891bca9800e5ad3528:/apps/suggest/views.py?ds=inline 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))