from django.db.models import Model, CharField, DateTimeField, BooleanField class CronLog(Model): task = CharField(max_length=255) execution = DateTimeField(auto_now_add=True) locked = BooleanField(default=True)