diff options
Diffstat (limited to 'django/db/models/__init__.py')
| -rw-r--r-- | django/db/models/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py index d708fa60bc..6d6197c162 100644 --- a/django/db/models/__init__.py +++ b/django/db/models/__init__.py @@ -15,7 +15,7 @@ from django.utils.text import capfirst # Admin stages. ADD, CHANGE, BOTH = 1, 2, 3 -class LazyDate: +class LazyDate(object): """ Use in limit_choices_to to compare the field to dates calculated at run time instead of when the model is loaded. For example:: |
