mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #19963 -- Added support for date_hierarchy across relations.
This commit is contained in:
committed by
Tim Graham
parent
89ca112884
commit
2f9c4e2b6f
@@ -621,6 +621,7 @@ class WorkHour(models.Model):
|
||||
|
||||
class Question(models.Model):
|
||||
question = models.CharField(max_length=20)
|
||||
posted = models.DateField(default=datetime.date.today)
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
|
||||
Reference in New Issue
Block a user