title: Django: How to automatically reset a boolean field to it's default after some time (eg. 6 months) to make full access for a page expire
body: <p>I am fairly new to django and I have the problem of creating full access for a site. The user has to give some additional information to get full access after signing up. I want the full access to automatically expire after 6 months. I defined a custom user model with the extra condition:</p>
  
  <p>models.py</p>
  
  <pre><code>from django.db import models
  from django.contrib.auth.models import AbstractUser
  
  class CustomUser(AbstractUser):
      full_name = models.CharField(blank=True, max_length=255)
      has_full_access = models.BooleanField(default=False)
      #some other stuff
  </code></pre>
  
  <p>After typing in some data for getting full access, the user gets redirected to this view which sets the boolean to true:</p>
  
  <p>views.py</p>
  
  <pre><code>def data_gathered_done(request):
      current_user = CustomUser.objects.get(id=request.user.id)
      current_user.has_full_access = True
      current_user.save()
      #some other stuff
  </code></pre>
  
  <p>I want this boolean field to automatically reset to it's default (False) 6 months after the full access has been granted. How can I do that?</p>