from django.db import models
from django.utils import timezone


class Timestampable(models.Model):
    created_date = models.DateTimeField(auto_now_add=True,
                                        verbose_name='added on')
    modified_date = models.DateTimeField(auto_now=True,
                                         verbose_name='last modified')

    class Meta:
        abstract = True
