Fix description submission in form handling
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Sun, 8 May 2011 22:23:12 +0000 (00:23 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Sun, 8 May 2011 22:23:12 +0000 (00:23 +0200)
commitec61f094926c7d64bd76f7d4dc79ce859d6f60ef
tree64f992f400124381b2a4b6eecbdbedc07534ca80
parenta1eb1f6051300e5d3ce9d1f32d28a25a567e73d8
Fix description submission in form handling

When we submitted an image the description would remain empty. THis was
because of some weird typo in form handling. Get an attribute with
.get('description') and not with .get(['description']). With this patch,
descriptions actually go into the database.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/submit/views.py