Added support for ETag and Last-Modified headers.
[~jspiros/reader.git] / models.py
index 28adb66..806b3ef 100644 (file)
--- a/models.py
+++ b/models.py
@@ -6,6 +6,9 @@ class Feed(models.Model):
        url = models.URLField()
        title = models.CharField(max_length=255)
        updated = models.DateTimeField()
+       etag = models.CharField(max_length=255, blank=True, null=True)
+       modified = models.DateTimeField(blank=True, null=True)
+       alive = models.BooleanField(default=True)
 
 
 class Entry(models.Model):