Is there a way to check if an instance of a model was already created today?
I want it so only one instance of the model should be created each day so if a new one is created, any instance that was already created that day is deleted.
Is there a way to check if an instance of a model was already created today?
I want it so only one instance of the model should be created each day so if a new one is created, any instance that was already created that day is deleted.
برچسب:
نویسنده: استخدام کار