[unicode] django.contrib.redirects doesn't work with unicode branch
here is the traceback when i'm trying to add a redirect in admin interface:
Traceback (most recent call last):
File "/home/nohero/programs/python/lib/python2.4/site-packages/django/template/__init__.py" in render_node
764. result = node.render(context)
File "/home/nohero/programs/python/lib/python2.4/site-packages/django/template/__init__.py" in render
882. return func(*resolved_vars)
File "/home/nohero/programs/python/lib/python2.4/site-packages/django/contrib/admin/templatetags/admin_modify.py" in output_all
179. return u''.join([force_unicode(f) for f in form_fields])
File "/home/nohero/programs/python/lib/python2.4/site-packages/django/utils/encoding.py" in force_unicode
38. s = unicode(s)
TypeError at /admin/redirects/redirect/add/
coercing to Unicode: need string or buffer, instance found
Change History
(6)
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from Jacob to Malcolm Tredinnick
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
I don't understand what "trying to add a redirect" means. Can you give an example of how to replicate the problem?