Added signal emited then the type is changed, added Document model method to update the document type
5 lines
194 B
Python
5 lines
194 B
Python
from django.dispatch import Signal
|
|
|
|
post_version_upload = Signal(providing_args=['instance'], use_caching=True)
|
|
post_document_type_change = Signal(providing_args=['instance'], use_caching=True)
|