13 lines
314 B
Python
13 lines
314 B
Python
from django.apps import AppConfig
|
|
from django.db.models.signals import post_migrate
|
|
|
|
from fet2020.utils import create_perms
|
|
|
|
|
|
class FinanceConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "finance"
|
|
|
|
def ready(self):
|
|
post_migrate.connect(create_perms, sender=self)
|