[discgolf] Fix tests and naming scheme
Some checks failed
build / test (push) Has been cancelled

This commit is contained in:
2026-06-20 00:55:16 -04:00
parent 4f91d5b40b
commit dccc80c615
13 changed files with 479 additions and 18 deletions

View File

@ -1115,7 +1115,7 @@ def toggle_favorite(request, media_type, object_id):
"Mood": ("moods", "Mood"),
"BrickSet": ("bricksets", "BrickSet"),
"BirdingLocation": ("birds", "BirdingLocation"),
"DiscGolf": ("discgolf", "DiscGolfCourse"),
"DiscGolfCourse": ("discgolf", "DiscGolfCourse"),
}
app_label, model_name = app_model_map.get(media_type, (None, None))