title: How to delete a record after a certain time of it's creation in Django?
body: <p>I am building an application that has a 'Story Feature' which is quite similar to Instagram's story feature, So I want to delete a story after 24 hours of its creation. So if a story was created on 12:00 PM 1 January 2021, I want to delete it automatically at 12:00 PM 2 January, 2021. I am using django3.1</p>
  <p>My Model:</p>
  <pre class="lang-py prettyprint-override"><code>class Story(models.Model):
      user = models.ForeignKey(to=User, on_delete=models.CASCADE)
      text = models.CharField(max_length=200)
      image = models.ImageField(blank=True, null=True)
      video = models.FielField(blank=True, null=True)
      created_at = models.DateTimeField(auto_now_add=True)
      expiration_time = models.DateTimeField()
  </code></pre>
  <p>I want to delete every record after their particular expiration time.</p>
  <p>[Expiration time is set in a post_save function ]</p>