diff options
Diffstat (limited to 'aggregator/models.py')
-rw-r--r-- | aggregator/models.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/aggregator/models.py b/aggregator/models.py deleted file mode 100644 index 34fb5a3..0000000 --- a/aggregator/models.py +++ /dev/null @@ -1,14 +0,0 @@ -from django.db import models - -class Post(models.Model): - post_id = models.CharField(max_length=255, unique=True, - primary_key=True) - title = models.CharField(max_length=500) - category = models.CharField(max_length=255) - link = models.URLField(max_length=255) - updated = models.DateTimeField() - content = models.TextField() - icon = models.CharField(max_length=255) - - class Meta: - ordering = [ '-updated' ] |