2024-10-10 15:41:46 +05:30
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HorillaApiConfig(AppConfig):
|
2024-10-10 15:45:44 +05:30
|
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
|
|
|
name = "horilla_api"
|
2025-01-30 16:35:46 +05:30
|
|
|
|
|
|
|
|
def ready(self):
|
2025-12-23 15:01:24 +05:30
|
|
|
"""
|
|
|
|
|
Initialize API documentation when the app is ready
|
|
|
|
|
"""
|
|
|
|
|
# Import and register API documentation components
|
|
|
|
|
import horilla_api.schema # noqa
|