summaryrefslogtreecommitdiff
path: root/app/posts/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/models.py')
-rw-r--r--app/posts/models.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index f42956e..b518554 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -6,28 +6,6 @@ import settings
from products.models import ProductLink
-"""
-class Feed(models.Model):
- name = models.CharField(max_length=255)
- feed_url = models.CharField(max_length=512)
- slug = models.CharField(max_length=50)
- last_polled = models.DateTimeField(blank=True, null=True)
- due_poll = models.DateTimeField(default=datetime.datetime(1900, 1, 1)) # default to distant past to put new sources to front of queue
- etag = models.CharField(max_length=255, blank=True, null=True)
- last_modified = models.CharField(max_length=255, blank=True, null=True) # just pass this back and forward between server and me , no need to parse
- last_result = models.CharField(max_length=255,blank=True,null=True)
- interval = models.PositiveIntegerField(default=400)
- last_success = models.DateTimeField(blank=True, null=True)
- last_change = models.DateTimeField(blank=True, null=True)
- live = models.BooleanField(default=True)
- status_code = models.PositiveIntegerField(default=0)
- last_302_url = models.CharField(max_length=512, null=True, blank=True)
- last_302_start = models.DateTimeField(null=True, blank=True)
-
- def __str__(self):
- return self.name
-"""
-
class PostType(models.IntegerChoices):
REVIEW = 0, ('review')