1 from django
.apps
import AppConfig
2 from django
.db
.models
.signals
import post_save
4 from mygpo
.subscriptions
.signals
import subscription_changed
5 from mygpo
.suggestions
.signals
import update_suggestions_on_subscription
6 from mygpo
.podcasts
.models
import Podcast
9 class SuggestionsConfig(AppConfig
):
10 name
= 'mygpo.suggestions'
11 verbose_name
= "Suggestions"
14 subscription_changed
.connect(update_suggestions_on_subscription
,