diff --git a/website/spotify/models.py b/website/spotify/models.py index fc131cc..8278e87 100644 --- a/website/spotify/models.py +++ b/website/spotify/models.py @@ -1,5 +1,6 @@ from datetime import timedelta from functools import cached_property +from unittest.mock import Base from django.core.cache import cache from django.core.exceptions import ValidationError @@ -30,6 +31,12 @@ class SpotifyPlaylistPage(BaseContentPage): if panel.field_name != "subtitle" ] + [FieldPanel("spotify_playlist_id")] + search_fields = [ + panel + for panel in BaseContentPage.search_fields + if panel.field_name not in ["body", "subtitle"] + ] + @property def table_of_contents(self) -> list: return []