mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Refs #22728 - Added missing tests for defaults__exact case
This commit is contained in:
parent
3e9b5bfd9c
commit
fc19f9315b
2 changed files with 45 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue