#4493 closed (fixed)
[unicode] django.contrib.redirects doesn't work with unicode branch
Description ¶
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)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 18 years ago
Owner: | changed from | to
---|
comment:3 by , 18 years ago
django.contrib.redirects is a package that let you add redirects from the admin interface. acceding http://localhost:8000/admin/redirects/redirect/add/ i the error above
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
I don't understand what "trying to add a redirect" means. Can you give an example of how to replicate the problem?