From a371eb3c9004d1a88b27a50822c594d2af10dfce Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 1 Jun 2006 04:37:47 +0000 Subject: [PATCH] Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@3043 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/model-api.txt b/docs/model-api.txt index fbb00a9e33..9cc5b8f203 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -162,11 +162,15 @@ A date field. Has a few extra optional arguments: ====================== =================================================== ``auto_now`` Automatically set the field to now every time the object is saved. Useful for "last-modified" - timestamps. + timestamps. Note that the current date is *always* + used; it's not just a default value that you can + override. ``auto_now_add`` Automatically set the field to now when the object is first created. Useful for creation of - timestamps. + timestamps. Note that the current date is *always* + used; it's not just a default value that you can + override. ====================== =================================================== The admin represents this as an ```` with a JavaScript