From 3da050e44e14505cd4a9990d1e6d40e0b3b65b20 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Wed, 22 Mar 2006 00:56:48 +0000 Subject: [PATCH] magic-removal: Updated docstring for LazyDate. git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2546 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py index fd73cc92de..7f8329aa9c 100644 --- a/django/db/models/__init__.py +++ b/django/db/models/__init__.py @@ -20,7 +20,7 @@ class LazyDate: Use in limit_choices_to to compare the field to dates calculated at run time instead of when the model is loaded. For example:: - ... limit_choices_to = {'date__gt' : meta.LazyDate(days=-3)} ... + ... limit_choices_to = {'date__gt' : models.LazyDate(days=-3)} ... which will limit the choices to dates greater than three days ago. """