qrurls/models.py
changeset 68 182ac4b328ec
parent 66 8ca335eab457
child 69 f7db1b752763
--- a/qrurls/models.py	Mon Sep 02 02:10:15 2013 +0300
+++ b/qrurls/models.py	Mon Sep 02 02:10:28 2013 +0300
@@ -166,7 +166,7 @@
 
 class URLItem(models.Model):
     shorturl = models.ForeignKey(URL)
-    published = models.DateTimeField() # UTC
+    published = models.DateTimeField(db_index=True) # UTC
 
     # either-or
     url = models.URLField(blank=True) # populated from image