Fix photo upload from wikidata.
[redakcja.git] / src / catalogue / translation.py
index 0ee8071..9637e55 100644 (file)
@@ -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',
+    )