]> git.ozlabs.org Git - patchwork/commit
[models] Fix exception on mbox view with non-ascii submitter name
authorJeremy Kerr <jk@ozlabs.org>
Thu, 9 Oct 2008 11:50:49 +0000 (22:50 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 9 Oct 2008 11:50:49 +0000 (22:50 +1100)
commit94ae2713d4aca80b7dc1168a60f98bbe38d86e12
tree3cb6702ba2b39a2e9a0a92208bf695d73bdfd0ca
parent4a039197705f92ee1c362401a7f7bb834ecc9079
[models] Fix exception on mbox view with non-ascii submitter name

We need to unicode the name instead of str-ing it.

Add test.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/models.py
apps/patchwork/tests/encodings.py