Skip to content
This repository was archived by the owner on Jul 17, 2018. It is now read-only.

Fixes crash for updating votes (in Django 1.0)?#35

Open
cogat wants to merge 2 commits into
dcramer:masterfrom
ixc:master
Open

Fixes crash for updating votes (in Django 1.0)?#35
cogat wants to merge 2 commits into
dcramer:masterfrom
ixc:master

Conversation

@cogat

@cogat cogat commented Aug 15, 2012

Copy link
Copy Markdown

When updating a vote that was already made, Django 1.0 crashes with a ValueError, caused by trying to use an uncast StringMorsel in a query. This pull casts cookies to unicode before passing them to a query.

Greg Turner added 2 commits August 15, 2012 14:57
… take well to being used in queries and throws a 500. This casts cookie to unicode at query time.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant