Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed superflous commented-out lines.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 87eb3a25aa7cca071b0768ae94a7914952af9eb3 1 parent 286a1ca
@ramiro ramiro authored
View
1  tests/modeltests/validation/models.py
@@ -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):
View
1  tests/regressiontests/admin_views/models.py
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.