Support for 'deed.pl' license URL.
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 26 Jun 2013 15:02:24 +0000 (17:02 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 26 Jun 2013 15:09:43 +0000 (17:09 +0200)
apps/catalogue/constants.py

index e2181af..bfad4b0 100644 (file)
@@ -10,6 +10,8 @@ LICENSES = {
         'description': _('Creative Commons Attribution-ShareAlike 3.0 Unported'),
     },
 }
         'description': _('Creative Commons Attribution-ShareAlike 3.0 Unported'),
     },
 }
+LICENSES['http://creativecommons.org/licenses/by-sa/3.0/deed.pl'] = \
+    LICENSES['http://creativecommons.org/licenses/by-sa/3.0/']
 
 # Those will be generated only for books with own HTML.
 EBOOK_FORMATS_WITHOUT_CHILDREN = ['txt', 'fb2']
 
 # Those will be generated only for books with own HTML.
 EBOOK_FORMATS_WITHOUT_CHILDREN = ['txt', 'fb2']