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:
parent
286a1cad88
commit
87eb3a25aa
|
@ -81,7 +81,6 @@ class FlexibleDatePost(models.Model):
|
|||
|
||||
class UniqueErrorsModel(models.Model):
|
||||
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.'})
|
||||
|
||||
class GenericIPAddressTestModel(models.Model):
|
||||
|
|
|
@ -791,7 +791,6 @@ class CoverLetterAdmin(admin.ModelAdmin):
|
|||
"""
|
||||
|
||||
def queryset(self, request):
|
||||
#return super(CoverLetterAdmin, self).queryset(request).only('author')
|
||||
return super(CoverLetterAdmin, self).queryset(request).defer('date_written')
|
||||
|
||||
class Story(models.Model):
|
||||
|
|
Loading…
Reference in New Issue