Comments (3)
What error happens here exactly? Can you provide a traceback?
from django-frontendadmin.
UnicodeEncodeError at /frontendadmin/change/gblocks/titleandtext/5/
('ascii', u'/\u0443\u0441\u043b\u0443\u0433\u0438/', 1, 7, 'ordinal not in range(128)')
Request Method: POST
Request URL: http://127.0.0.1:8000/frontendadmin/change/gblocks/titleandtext/5/?next=/%D1%83%D1%81%D0%BB%D1%83%D0%B3%D0%B8/
Exception Type: UnicodeEncodeError
Exception Value:
('ascii', u'/\u0443\u0441\u043b\u0443\u0433\u0438/', 1, 7, 'ordinal not in range(128)')
Exception Location: /home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/http/init.py in _convert_to_ascii, line 306
Python Executable: /home/artem/Work/dev/corp/env/bin/python
Python Version: 2.6.4
Traceback:
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
-
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
response = callback(request, _callback_args, *_callback_kwargs)
-
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
response = view_func(request, _args, *_kwargs)
-
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/contrib/auth/decorators.py" in call
response = view_func(request, _args, *_kwargs)
-
File "/home/artem/Work/dev/corp/src/apps/frontendadmin/views.py" in change
return self.view_func(request, _args, *_kwargs)
-
File "/home/artem/Work/dev/corp/src/apps/frontendadmin/views.py" in _handle_cancel
cancel = _handle_cancel(request)
-
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/http/init.py" in init
return HttpResponseRedirect(request.GET.get('next'))
-
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/http/init.py" in setitem
self['Location'] = redirect_to
-
File "/home/artem/Work/dev/corp/env/lib/python2.6/site-packages/django/http/init.py" in _convert_to_ascii
header, value = self._convert_to_ascii(header, value)
-
yield value.encode('us-ascii')
from django-frontendadmin.
(There are two such places in views.py)
from django-frontendadmin.
Related Issues (13)
- Danish locale file HOT 1
- Integration with django-reversion HOT 5
- Screencast is gone HOT 3
- SSL/Https in action_url HOT 3
- Proxy support HOT 2
- AtributeError exception on add,change or delete actions in Django 1.4 HOT 1
- Wrong parameter lookup in POST querydict of _handle_cancel HOT 1
- Exception on add, create, delete for versions < Django 1.4
- Raise "No module named defaults" under Django 1.8
- form.serialize() does not serialize submit buttons
- 1.2 Support - CSRF HOT 1
- spelling error in views.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-frontendadmin.