Skip to content
Snippets Groups Projects
Verified Commit c4220f31 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix preference name

parent d12186a1
No related branches found
No related tags found
1 merge request!120Resolve "Create match failures as data checks"
Pipeline #53534 passed
......@@ -168,5 +168,5 @@ def move_weekday_to_range(time_periods_ref: dict, weekday: int) -> int:
def is_untis_primary_source(model: Type[Model]) -> bool:
"""Check if Untis is primary source for the model."""
allowed_content_types = get_site_preferences()["untis_primary_sources"]
allowed_content_types = get_site_preferences()["untis_mysql__data_types_primary_source"]
return ContentType.objects.get_for_model(model) in allowed_content_types
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment