﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4798	Unicode strings being passed as kwargs	Baptiste <baptiste.goupil@…>	Adrian Holovaty	"Hi,

Since the Unicode merging, this view :
{{{
#!python
@vary_on_headers('Authenticated-User')
def list_articles(request, blog, slug=None, tags='', year=None, month=None, day=None):
}}}
raises an Exception, ""inner_func() keywords must be strings"".[[BR]]
The Exception allows me to watch local vars, like callback_kwargs, that is going to be passed to the function :
{{{
#!python
{'blog': <Blog>, u'month': '6', u'slug': '', u'year': '2007'}
}}}
It seems that unicode there is not well-handled.
On a few pages, I have the same error but with views instead of inner_func().

Moreover, Magus- has a temp fix :
{{{
<Magus-> line 235 of django/core/urlresolvers.py - the 3rd arg on the return (the dict() call) is the one in question
<Magus-> move that dict() to a new line above 235, setting it to a temp var - then you need to build a new dict with bytestring keys instead of unicode
}}}"		closed	Core (Other)	dev		fixed	unicode		Unreviewed	0	0	0	0	0	0
