Removed superflous commented-out lines.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales 2011-07-04 12:23:12 +00:00
parent 286a1cad88
commit 87eb3a25aa
2 changed files with 0 additions and 2 deletions

View File

@ -81,7 +81,6 @@ class FlexibleDatePost(models.Model):
class UniqueErrorsModel(models.Model): class UniqueErrorsModel(models.Model):
name = models.CharField(max_length=100, unique=True, error_messages={'unique': u'Custom unique name message.'}) name = models.CharField(max_length=100, unique=True, error_messages={'unique': u'Custom unique name message.'})
#number = models.IntegerField(unique=True, error_messages={'unique': u'Custom unique number message.'})
no = models.IntegerField(unique=True, error_messages={'unique': u'Custom unique number message.'}) no = models.IntegerField(unique=True, error_messages={'unique': u'Custom unique number message.'})
class GenericIPAddressTestModel(models.Model): class GenericIPAddressTestModel(models.Model):

View File

@ -791,7 +791,6 @@ class CoverLetterAdmin(admin.ModelAdmin):
""" """
def queryset(self, request): def queryset(self, request):
#return super(CoverLetterAdmin, self).queryset(request).only('author')
return super(CoverLetterAdmin, self).queryset(request).defer('date_written') return super(CoverLetterAdmin, self).queryset(request).defer('date_written')
class Story(models.Model): class Story(models.Model):