Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed some unnecessary stuff from django_website.apps.aggregator.mo…

…dels.aggregator

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6e60bfa8f29e71f906c10b914a48cd624e0a9bd4 1 parent 17c3ffd
adrian authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 django_website/apps/aggregator/models/aggregator.py
View
14 django_website/apps/aggregator/models/aggregator.py
@@ -3,25 +3,25 @@
class Feed(meta.Model):
fields = (
meta.CharField('title', maxlength=200),
- meta.URLField('feed_url', 'feed url', verify_exists=True, unique=True),
- meta.URLField('public_url', 'public url', verify_exists=True),
- meta.BooleanField("is_defunct", "is defunct"),
+ meta.URLField('feed_url', unique=True),
+ meta.URLField('public_url'),
+ meta.BooleanField("is_defunct"),
)
admin = meta.Admin()
-
+
def __repr__(self):
return self.title
-
+
class FeedItem(meta.Model):
fields = (
meta.ForeignKey(Feed),
meta.CharField('title', maxlength=200),
meta.URLField('link'),
meta.TextField('summary', blank=True),
- meta.DateTimeField('date_modified', 'date modified'),
+ meta.DateTimeField('date_modified'),
meta.CharField('guid', maxlength=200, unique=True, db_index=True),
)
ordering = ("-date_modified",)
def __repr__(self):
- return self.title
+ return self.title
Please sign in to comment.
Something went wrong with that request. Please try again.