X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/631e1c32e1c23b24eda0c747f6bbd30cb394b791..cea1338141dcef9834201621c6a2b2cd9ee6b546:/src/catalogue/translation.py?ds=inline diff --git a/src/catalogue/translation.py b/src/catalogue/translation.py index 0ee80711..9637e55d 100644 --- 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', + )