Add a license preference field
authorMark Holmquist <mtraceur@member.fsf.org>
Sun, 11 Nov 2012 00:59:37 +0000 (16:59 -0800)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 17 Jan 2013 20:34:04 +0000 (21:34 +0100)
commitdc4dfbde350fdd9eac50448e42f2c8b209dd6ea8
treee46b401ad1cfb2aab400658491ed2975f23ff61a
parent49745d5138540af8f7cbce318767172f4c560881
Add a license preference field

This feature is absolutely necessary. Now a user can simply define
their default license and quickly go through a form, as opposed to
stopping to click on the select and choosing the same option over
and over again.

Also added DB migration for the field, so that's working now, too.

Rebased by Sebastian and made the default value to be unicode.

Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/db/migrations.py
mediagoblin/db/models.py
mediagoblin/edit/forms.py
mediagoblin/edit/views.py
mediagoblin/submit/views.py
mediagoblin/templates/mediagoblin/edit/edit_account.html