django-addanother v. 1.0.1
I get an error if I try to put a text with accented characters like ç
, ã
....
Traceback:
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
22. return view_func(request, *args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
34. return bound_func(*args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
57. response = view_func(request, *args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
30. return func.__get__(self, type(self))(*args2, **kwargs2)
File "/home/luzfcb/projetos/solar_gitlab_master/djdocuments/views/documentos.py" in dispatch
407. return super(TipoDocumentoCriar, self).dispatch(request, *args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
89. return handler(request, *args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/views/generic/edit.py" in post
249. return super(BaseCreateView, self).post(request, *args, **kwargs)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django/views/generic/edit.py" in post
215. return self.form_valid(form)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django_addanother/views.py" in form_valid
25. return self.respond_script(self.object)
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django_addanother/views.py" in respond_script
32. escapejs(self.label_from_instance(created_obj)),
File "/home/luzfcb/virtualenvs/solar_master/local/lib/python2.7/site-packages/django_addanother/views.py" in get_script_response_html
40. label=created_obj_label
Exception Type: UnicodeEncodeError at /docs/t/criar_tipo_documento/
Exception Value: 'ascii' code