Skip to content
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...
1 parent 286a1ca commit 87eb3a25aa7cca071b0768ae94a7914952af9eb3 @ramiro ramiro committed
Showing with 0 additions and 2 deletions.
  1. +0 −1 tests/modeltests/validation/models.py
  2. +0 −1 tests/regressiontests/admin_views/models.py
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):

0 comments on commit 87eb3a2

Please sign in to comment.
Something went wrong with that request. Please try again.