I have a model in Django that holds some data which is irrelevant after a month.
Is there a way to automatically delete it after a certain period of time?

The DB is MySQL if it matters, thing is I can't tell whether this is done in the DB side (perhaps there's a way to configure this via MySQL?), or in my back-end code.

Is there a quick solution, or do I have to write code that does this, and have it run every day, deleting anything that wasn't added a month ago?

Thanks