Sections
Daniel
Moriah
Photos
Recipes
Movies
Software
Other
About
Contact
Show/Hide Search
Wolf
Entries By:
Daniel
Moriah

Entry Type:
Audio
Blog
Chat
Code
Link
Lyrics
Picture
Quote
Thought
Video

Archives By:
2012
M
A
M
F
J
2011
D
N
O
S
A
J
J
M
A
M
F
J
2010
D
N
O
S
A
J
J
M
A
M
F
J
2009
D
N
O
S
A
J
J
M
A
M
F
J
2008
D
N
O
S
A
J
J
M
A
M
F
J
2007
D
N
O
S
A
J
J
M
A
M
F
J
2006
D
N
O
S
A
J
J
M
A
M
F
J
2005
D
N
O
S
A
J
J
M
A
M
F
J
2004
D
N
O
S
A
J
J
M
A
M
F
J
2003
D
N
O
S
A

Links:
Toast Driven
Gemstone Creations
Wagging Work
Luke
Peter
Matt
Christian
Andy
Nummy!
Arthur
Nico
Mike T.
Phil
February 24, 2007

[Daniel] Django & Unicode URLs

This bit me so I have to post it. When using Django's (excellent) "newforms" library, if you use any of the posted data to create a URL that you're redirecting to, make sure you run a "str()" on that string. Dreamhost's "wgsi.py"/"fcgi.py" die if given a Unicode string in an "HttpResponseRedirect".

Add A Comment