Django

Code

Show
Ignore:
Timestamp:
09/19/08 15:49:50 (4 months ago)
Author:
jacob
Message:

[djangoproject.com] updated website to use Django 1.0.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com

    • Property svn:externals changed from
      django -r6063 http://code.djangoproject.com/svn/django/trunk/django/
      registration -r139 http://django-registration.googlecode.com/svn/trunk/registration/
      comment_utils -r78 http://django-comment-utils.googlecode.com/svn/trunk/comment_utils/
      contact_form -r48 http://django-contact-form.googlecode.com/svn/trunk/contact_form/
      to
      django http://code.djangoproject.com/svn/django/tags/releases/1.0/django
      registration -r168 http://django-registration.googlecode.com/svn/trunk/registration/
      contact_form -r49 http://django-contact-form.googlecode.com/svn/trunk/contact_form/
  • djangoproject.com/django_website/apps/aggregator/models.py

    r7892 r9073  
    22 
    33class Feed(models.Model): 
    4     title = models.CharField(maxlength=500) 
    5     feed_url = models.URLField(unique=True, maxlength=500) 
    6     public_url = models.URLField(maxlength=500) 
     4    title = models.CharField(max_length=500) 
     5    feed_url = models.URLField(unique=True, max_length=500) 
     6    public_url = models.URLField(max_length=500) 
    77    is_defunct = models.BooleanField() 
    88 
    99    class Meta: 
    1010        db_table = 'aggregator_feeds' 
    11  
    12     class Admin: 
    13         list_display = ["title", "public_url", "is_defunct"] 
    14         list_filter = ["is_defunct"] 
    15         ordering = ["title"] 
    16         search_fields = ["title", "public_url"] 
    17         list_per_page = 500 
    1811 
    1912    def __unicode__(self): 
     
    2215class FeedItem(models.Model): 
    2316    feed = models.ForeignKey(Feed) 
    24     title = models.CharField(maxlength=500) 
    25     link = models.URLField(maxlength=500) 
     17    title = models.CharField(max_length=500) 
     18    link = models.URLField(max_length=500) 
    2619    summary = models.TextField(blank=True) 
    2720    date_modified = models.DateTimeField() 
    28     guid = models.CharField(maxlength=500, unique=True, db_index=True) 
     21    guid = models.CharField(max_length=500, unique=True, db_index=True) 
    2922 
    3023    class Meta: