Ticket #9228: sites.diff
File sites.diff, 448 bytes (added by , 16 years ago) |
---|
-
django/contrib/sites/models.py
42 42 def __unicode__(self): 43 43 return self.domain 44 44 45 def save(self): 46 super(Site, self).save() 47 SITE_CACHE[self.pk] = self 48 45 49 def delete(self): 46 50 pk = self.pk 47 51 super(Site, self).delete()