diff options
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r-- | ishtar_common/forms.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index d15352e64..2e15e907c 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -273,8 +273,6 @@ class CustomForm(BSForm): :return: tuple of choices (id, value) """ app_name = cls.__module__.split(".")[0] - if app_name == "archaeological_files_pdl": - app_name = "archaeological_files" model_name = cls.form_slug.split("-")[0].replace("_", "") ct_class = apps.get_model(app_name, model_name) return ct_class._get_dynamic_choices(key) |