fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Metadata editor
[redakcja.git]
/
src
/
catalogue
/
constants.py
diff --git
a/src/catalogue/constants.py
b/src/catalogue/constants.py
index
4775d18
..
9134e2d
100644
(file)
--- a/
src/catalogue/constants.py
+++ b/
src/catalogue/constants.py
@@
-1,14
+1,14
@@
# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
# 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:
+
GENDER = "P21
"
+ AUTHOR = "P50"
+ CREATOR = "P170"
+ LANGUAGE = "P407"
+ DATE_OF_DEATH = "P570"
+ LAST_NAME = "P734"
+ GIVEN_NAME = "P735"
+ TRANSLATOR = "P655"
+ BASED_ON = "P629"
+ TITLE = "P1476"