1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #22728 - Added missing tests for defaults__exact case

This commit is contained in:
Andriy Sokolovskiy
2015-06-05 00:27:10 +01:00
parent 3e9b5bfd9c
commit fc19f9315b
2 changed files with 45 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ class Person(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
birthday = models.DateField()
defaults = models.TextField()
def __str__(self):
return '%s %s' % (self.first_name, self.last_name)