Django

Code

Show
Ignore:
Timestamp:
07/19/08 08:30:47 (6 months ago)
Author:
jbronn
Message:

gis: Merged revisions 7921,7926-7928,7938-7941,7945-7947,7949-7950,7952,7955-7956,7961,7964-7968,7970-7978 via svnmerge from trunk.

This includes the newforms-admin branch, and thus is backwards-incompatible. The geographic admin is _not_ in this changeset, and is forthcoming.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis

    • Property svnmerge-integrated changed from /django/trunk:1-7917 to /django/trunk:1-7978
  • django/branches/gis/django/contrib/sites/models.py

    r7768 r7979  
    3333    name = models.CharField(_('display name'), max_length=50) 
    3434    objects = SiteManager() 
     35 
    3536    class Meta: 
    3637        db_table = 'django_site' 
     
    3839        verbose_name_plural = _('sites') 
    3940        ordering = ('domain',) 
    40     class Admin: 
    41         list_display = ('domain', 'name') 
    42         search_fields = ('domain', 'name') 
    4341 
    4442    def __unicode__(self): 
    4543        return self.domain 
    46  
     44     
    4745    def delete(self): 
    4846        pk = self.pk 
     
    5250        except KeyError: 
    5351            pass 
    54          
    5552 
    5653class RequestSite(object):