fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorganize depot models in preparation for more.
[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',
fields = (
'first_name',
'last_name',
- 'place_of_birth',
- 'place_of_death',
'description',
)
'description',
)
+
+
+@register(models.Place)
+class PlaceTranslationOptions(TranslationOptions):
+ fields = (
+ 'name',
+ 'locative',
+ )