added "see description for license" license option

master
Andrew Engelbrecht 8 years ago
parent 379cef6e13
commit ebfb81ea2a
  1. 13
      mediagoblin_libreplanet/__init__.py

@ -39,10 +39,15 @@ cc_by_nd_4 = License("CC BY-ND 4.0",
gfdl_1_3 = License("GFDL 1.3",
"GNU Free Documentation License 1.3",
"https://www.gnu.org/licenses/fdl-1.3.en.html")
SORTED_LICENSES.insert(1, cc_by_4)
SORTED_LICENSES.insert(2, cc_by_sa_4)
SORTED_LICENSES.insert(3, cc_by_nd_4)
SORTED_LICENSES.insert(4, gfdl_1_3)
see_desc = License("See description for license",
"See description for license",
"./")
SORTED_LICENSES.insert(1, see_desc)
SORTED_LICENSES.insert(2, cc_by_4)
SORTED_LICENSES.insert(3, cc_by_sa_4)
SORTED_LICENSES.insert(4, cc_by_nd_4)
SORTED_LICENSES.insert(5, gfdl_1_3)
SUPPORTED_LICENSES[see_desc.uri] = see_desc
SUPPORTED_LICENSES[cc_by_4.uri] = cc_by_4
SUPPORTED_LICENSES[cc_by_sa_4.uri] = cc_by_sa_4
SUPPORTED_LICENSES[cc_by_nd_4.uri] = cc_by_nd_4

Loading…
Cancel
Save