2024-12-10 22:05:36 +00:00
|
|
|
"""
|
|
|
|
Metadata for the application registry.
|
|
|
|
"""
|
|
|
|
|
2019-03-27 15:49:14 +00:00
|
|
|
from django.apps import AppConfig
|
2020-01-02 18:32:15 +00:00
|
|
|
from django.utils.module_loading import autodiscover_modules
|
2021-07-03 23:59:48 +00:00
|
|
|
|
2019-03-27 15:49:14 +00:00
|
|
|
|
|
|
|
class CmsConfig(AppConfig):
|
2024-12-10 22:05:36 +00:00
|
|
|
"""
|
|
|
|
The `cms` app.
|
|
|
|
"""
|
|
|
|
|
2021-07-03 23:59:48 +00:00
|
|
|
name = "cms"
|
2020-01-02 18:32:15 +00:00
|
|
|
|
|
|
|
def ready(self):
|
2024-12-10 22:05:36 +00:00
|
|
|
"""
|
|
|
|
When ready, populate the section type registry.
|
|
|
|
"""
|
|
|
|
|
2021-07-03 23:59:48 +00:00
|
|
|
autodiscover_modules("views")
|