Víðir Valberg Guðmundsson
f18469833a
All checks were successful
continuous-integration/drone/push Build is passing
17 lines
391 B
Python
17 lines
391 B
Python
"""Membership app configuration."""
|
|
|
|
from django.apps import AppConfig
|
|
from django.db.models.signals import post_migrate
|
|
|
|
|
|
class MembershipConfig(AppConfig):
|
|
"""Membership app config."""
|
|
|
|
name = "membership"
|
|
|
|
def ready(self) -> None:
|
|
"""Ready method."""
|
|
from .permissions import persist_permissions
|
|
|
|
post_migrate.connect(persist_permissions, sender=self)
|