X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c48ff2d3e64065793c24cfb8ae151f02b8e6646a..391d6cbc649f387a731f724cd4cf7dbcb02e26c2:/src/catalogue/constants.py?ds=sidebyside diff --git a/src/catalogue/constants.py b/src/catalogue/constants.py index 4775d187..1faee93a 100644 --- a/src/catalogue/constants.py +++ b/src/catalogue/constants.py @@ -1,14 +1,19 @@ # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -TRIM_BEGIN = " TRIM_BEGIN " -TRIM_END = " TRIM_END " - -MASTERS = ['powiesc', - 'opowiadanie', - 'liryka_l', - 'liryka_lp', - 'dramat_wierszowany_l', - 'dramat_wierszowany_lp', - 'dramat_wspolczesny', - ] +class WIKIDATA: + IMAGE = 'P18' + PLACE_OF_BIRTH = 'P19' + PLACE_OF_DEATH = 'P20' + GENDER = "P21" + AUTHOR = "P50" + CREATOR = "P170" + LANGUAGE = "P407" + DATE_OF_BIRTH = "P569" + DATE_OF_DEATH = "P570" + PUBLICATION_DATE = "P577" + LAST_NAME = "P734" + GIVEN_NAME = "P735" + TRANSLATOR = "P655" + BASED_ON = "P629" + TITLE = "P1476"