Ticket #5410: unicode-RequestSite.patch
File unicode-RequestSite.patch, 472 bytes (added by , 17 years ago) |
---|
-
django/contrib/sites/models.py
38 38 def __init__(self, request): 39 39 self.domain = self.name = request.META['SERVER_NAME'] 40 40 41 def __unicode__(self): 42 return self.domain 43 41 44 def save(self): 42 45 raise NotImplementedError('RequestSite cannot be saved.') 43 46