This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Add due_date
to PrivacyRequest model
#1147
Labels
due_date
to PrivacyRequest model
#1147
To track the date by which a
PrivacyRequest
must be actioned, we must store it on thePrivacyRequest
model. This attribute should be set automatically onPrivacyRequest
creation, based upon thePolicy.execution_timeframe
belonging to the policy with which the request is associated.PrivacyRequest.due_date
can be calculated bycreated_at + timedelta(execution_timeframe)
We'll want to allow sorting
PrivacyRequest
s based on this field, so an index on this field could be appropriate.The text was updated successfully, but these errors were encountered: