Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored August 07, 2005
14  django_website/apps/aggregator/models/aggregator.py
@@ -3,25 +3,25 @@
3 3
 class Feed(meta.Model):
4 4
     fields = (
5 5
         meta.CharField('title', maxlength=200),
6  
-        meta.URLField('feed_url', 'feed url', verify_exists=True, unique=True),
7  
-        meta.URLField('public_url', 'public url', verify_exists=True),
8  
-        meta.BooleanField("is_defunct", "is defunct"),
  6
+        meta.URLField('feed_url', unique=True),
  7
+        meta.URLField('public_url'),
  8
+        meta.BooleanField("is_defunct"),
9 9
     )
10 10
     admin = meta.Admin()
11  
-    
  11
+
12 12
     def __repr__(self):
13 13
         return self.title
14  
-    
  14
+
15 15
 class FeedItem(meta.Model):
16 16
     fields = (
17 17
         meta.ForeignKey(Feed),
18 18
         meta.CharField('title', maxlength=200),
19 19
         meta.URLField('link'),
20 20
         meta.TextField('summary', blank=True),
21  
-        meta.DateTimeField('date_modified', 'date modified'),
  21
+        meta.DateTimeField('date_modified'),
22 22
         meta.CharField('guid', maxlength=200, unique=True, db_index=True),
23 23
     )
24 24
     ordering = ("-date_modified",)
25 25
 
26 26
     def __repr__(self):
27  
-        return self.title
  27
+        return self.title

0 notes on commit 6e60bfa

Please sign in to comment.
Something went wrong with that request. Please try again.