diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-01-22 22:28:19 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-01-22 23:10:30 +0100 |
commit | 0c871f81220b3d5c1700a0e4141eb7e52efc04e0 (patch) | |
tree | 32a5ccefa0f51a80e032f52dbae460f3ab4ac05b /docs/source/devel | |
parent | 066d49b2c1c8319a5b7805b4a68a8ee2b1c59ad1 (diff) | |
download | mediagoblin-0c871f81220b3d5c1700a0e4141eb7e52efc04e0.tar.lz mediagoblin-0c871f81220b3d5c1700a0e4141eb7e52efc04e0.tar.xz mediagoblin-0c871f81220b3d5c1700a0e4141eb7e52efc04e0.zip |
Use inspect_table; default user license==None.
Use inspect_table in the new migration. Makes code more
readable, really.
And make the default for the preferred license be None.
This is a userspace thing, so we can even change the
migration here. Changing the migration means, that people
running the migration before this commit get a "" in
User.license_preference, while people running the migration
now get a None. Both values are okay.
None has been designated as "Use the site's default". We're
not actually having a site default right now. Which means
no license is selected in the dropdown.
While "" means "All rights reserved" being chosen by the
user.
Side note: Having no license being selected in the submit
dropdown is as "worse" as before and does not really hurt
much. MediaEntry.license==None means "All rights reserved"
as does "" also do.
Diffstat (limited to 'docs/source/devel')
0 files changed, 0 insertions, 0 deletions