In my django project I would like to be able to delete certain entries in the database automatically if they re too old. I can write a function that checks the creation_date and if its too old, deletes it, but I want this function to be run automatically at regular intervals..Is it possible to do this? Thanks
How do I get two distinct random records using Django? I ve seen questions about how to get one but I need to get two random records and they must differ.