Restore created_at

This commit is contained in:
Jonathan Cremin 2015-01-18 01:58:33 +00:00
parent bc1c5ff08a
commit edd3b8032b

View file

@ -6,7 +6,7 @@ import random
class Link(models.Model):
id = models.CharField(primary_key=True, max_length=12)
url = models.URLField(max_length=2048)
created_at = models.DateTimeField(auto_now_add=False)
created_at = models.DateTimeField(auto_now_add=True)
clicks = models.IntegerField(default=0)
ip = models.GenericIPAddressField(null=True)