fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Thema extension proposal.
[redakcja.git]
/
src
/
catalogue
/
translation.py
diff --git
a/src/catalogue/translation.py
b/src/catalogue/translation.py
index
0ee8071
..
9637e55
100644
(file)
--- a/
src/catalogue/translation.py
+++ b/
src/catalogue/translation.py
@@
-7,7
+7,13
@@
class AuthorTranslationOptions(TranslationOptions):
fields = (
'first_name',
'last_name',
- 'place_of_birth',
- 'place_of_death',
'description',
)
+
+
+@register(models.Place)
+class PlaceTranslationOptions(TranslationOptions):
+ fields = (
+ 'name',
+ 'locative',
+ )