Add the relation between an user and a patch through the Patch's interested_users attribute.
This relations happens through the model PatchInterest that contains a timestamp for when the interest was declared.
Inside a Patch's State there's now an attribute indicating how long an interest can last before it expires.
To remove expired interests async tasks were added using Celery
Serializers and Forms were update to reflect the changes aswell
Description
Add the relation between an user and a patch through the Patch's
interested_users
attribute. This relations happens through the modelPatchInterest
that contains a timestamp for when the interest was declared. Inside aPatch
'sState
there's now an attribute indicating how long an interest can last before it expires. To remove expired interests async tasks were added using Celery Serializers and Forms were update to reflect the changes aswellRelated