- Rename calendar_app → scheduling (integration app for django-scheduler) - Move schedule_patch.py → scheduling/patch.py with improved logging - Create scheduling.notifications system for django-scheduler events - Add scheduling.rules for django-rules integration - Remove unused calendar_app models and API (not registered in urls) - Remove backend/api/v1/calendar/ (dead code) - Remove old tests for calendar_app - Add comprehensive documentation in scheduling/README.md - Update settings.py: calendar_app.apps.CalendarAppConfig → scheduling.apps.SchedulingConfig - Clean api/apps.py: remove schedule_patch import (now in scheduling.apps) The scheduling app provides: - Patches for django-scheduler bugs (byweekday fix) - Notification system for calendar events - Access rules via django-rules - Auto-applies on Django startup Closes integration of django-scheduler for EUSRR calendar system.
25 lines
452 B
Python
25 lines
452 B
Python
"""
|
|
Конфигурация уведомлений для django-scheduler.
|
|
"""
|
|
from .config import (
|
|
NotificationVerbs,
|
|
MessageTemplates,
|
|
ActionURLs,
|
|
FIELD_NAMES,
|
|
IMPORTANT_FIELDS,
|
|
format_datetime,
|
|
format_date,
|
|
format_changes,
|
|
)
|
|
|
|
__all__ = [
|
|
'NotificationVerbs',
|
|
'MessageTemplates',
|
|
'ActionURLs',
|
|
'FIELD_NAMES',
|
|
'IMPORTANT_FIELDS',
|
|
'format_datetime',
|
|
'format_date',
|
|
'format_changes',
|
|
]
|