- Added departments ManyToMany field to Document model - Implemented department selection in document create/edit modals - Added automatic notification creation for all department employees - Fixed document filtering to include uploaded documents in 'My Documents' - Fixed acknowledgements API to include department recipients - Added bulk notification support with configurable threshold - Removed acknowledge button, added visual highlighting for unread documents - Implemented server-side acknowledgment flow with redirect to file - Fixed mobile responsive layout for document actions - Removed temporary test files and documentation
11 lines
318 B
Python
11 lines
318 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class DocumentsConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "documents"
|
|
|
|
def ready(self):
|
|
# импортируем сигналы, чтобы они подхватились
|
|
import documents.notification_signals # noqa
|