git.ithinksw.org
/
~jspiros
/
reader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for ETag and Last-Modified headers.
[~jspiros/reader.git]
/
models.py
diff --git
a/models.py
b/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()
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):
class Entry(models.Model):