X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/631e1c32e1c23b24eda0c747f6bbd30cb394b791..8e8b2c44fc1345b2b4ae2806f2ef5f2187d760c0:/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', + )