Django

Code

Show
Ignore:
Timestamp:
03/18/08 10:47:52 (6 months ago)
Author:
jacob
Message:

[website] changed some maxlengths to avoid crapping out in the aggregator.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/apps/aggregator/models.py

    r6062 r7296  
    22 
    33class Feed(models.Model): 
    4     title = models.CharField(maxlength=200) 
    5     feed_url = models.URLField(unique=True
    6     public_url = models.URLField(
     4    title = models.CharField(maxlength=500) 
     5    feed_url = models.URLField(unique=True, maxlength=500
     6    public_url = models.URLField(maxlength=500
    77    is_defunct = models.BooleanField() 
    88 
     
    1818class FeedItem(models.Model): 
    1919    feed = models.ForeignKey(Feed) 
    20     title = models.CharField(maxlength=200) 
    21     link = models.URLField(
     20    title = models.CharField(maxlength=500) 
     21    link = models.URLField(maxlength=500
    2222    summary = models.TextField(blank=True) 
    2323    date_modified = models.DateTimeField() 
    24     guid = models.CharField(maxlength=200, unique=True, db_index=True) 
     24    guid = models.CharField(maxlength=500, unique=True, db_index=True) 
    2525 
    2626    class Meta: