2020-05-07 19:51:06 +01:00
|
|
|
"""passbook policies app config"""
|
2020-05-24 01:06:54 +01:00
|
|
|
from importlib import import_module
|
|
|
|
|
2020-05-07 19:51:06 +01:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
class PassbookPoliciesConfig(AppConfig):
|
|
|
|
"""passbook policies app config"""
|
|
|
|
|
|
|
|
name = "passbook.policies"
|
|
|
|
label = "passbook_policies"
|
|
|
|
verbose_name = "passbook Policies"
|
2020-05-24 01:06:54 +01:00
|
|
|
|
|
|
|
def ready(self):
|
2020-06-21 11:40:01 +01:00
|
|
|
"""Load policy cache clearing signals"""
|
2020-05-24 01:06:54 +01:00
|
|
|
import_module("passbook.policies.signals")
|