14 lines
367 B
Python
14 lines
367 B
Python
"""
|
|
Django app config for the gooyal-dynamic-scopes package.
|
|
"""
|
|
|
|
from django.apps import AppConfig as BaseAppConfig
|
|
from django.db.models.signals import post_migrate
|
|
|
|
|
|
class AppConfig(BaseAppConfig):
|
|
name = 'apps.gooyal_dynamic_scopes'
|
|
|
|
def ready(self):
|
|
from .signals import register_scopes
|
|
post_migrate.connect(register_scopes, sender=self)
|