<reponame>katajakasa/aetherguild4
from django.apps import AppConfig
from django.db.models.signals import post_save


class MainsiteConfig(AppConfig):
    name = 'aether.main_site'

    def ready(self):
        from .signals import postprocess_newsitem
        from .models import NewsItem
        post_save.connect(postprocess_newsitem, sender=NewsItem)

from django.apps import AppConfig
from django.db.models.signals import post_save


class MainsiteConfig(AppConfig):
    name = 'aether.main_site'

    def ready(self):
        from .signals import postprocess_newsitem
        from .models import NewsItem
        post_save.connect(postprocess_newsitem, sender=NewsItem)