mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-22 09:31:29 -08:00
extend LICENSE_CHOICES
This commit is contained in:
parent
f83c931d19
commit
f1c2858537
@ -3,7 +3,8 @@ LICENSE_CHOICES = [
|
|||||||
(2, 'Unknown'),
|
(2, 'Unknown'),
|
||||||
(3, 'CC BY-SA 2.5'),
|
(3, 'CC BY-SA 2.5'),
|
||||||
(4, 'CC BY-SA 3.0'),
|
(4, 'CC BY-SA 3.0'),
|
||||||
(5, 'CC BY 3.0')
|
(5, 'CC BY 3.0'),
|
||||||
|
(6, 'CC BY 1.0')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -18,3 +19,5 @@ def get_image_license_info(x):
|
|||||||
return ('CC BY-SA 3.0', 'https://creativecommons.org/licenses/by-sa/3.0')
|
return ('CC BY-SA 3.0', 'https://creativecommons.org/licenses/by-sa/3.0')
|
||||||
if x == 5:
|
if x == 5:
|
||||||
return ('CC BY 3.0', 'https://creativecommons.org/licenses/by/3.0')
|
return ('CC BY 3.0', 'https://creativecommons.org/licenses/by/3.0')
|
||||||
|
if x == 6:
|
||||||
|
return ('CC BY 1.0', 'https://creativecommons.org/licenses/by/1.0')
|
||||||
|
Loading…
Reference in New Issue
Block a user