1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #29138 -- Added extra tests for autocomplete FK to_field variations.

This commit is contained in:
Johannes Maron
2021-02-22 12:54:33 +01:00
committed by Carlton Gibson
parent ceb4b9ee68
commit 0b120f5d64
2 changed files with 25 additions and 0 deletions

View File

@@ -622,6 +622,7 @@ class WorkHour(models.Model):
class Question(models.Model):
big_id = models.BigAutoField(primary_key=True)
question = models.CharField(max_length=20)
posted = models.DateField(default=datetime.date.today)
expires = models.DateTimeField(null=True, blank=True)