Django

Code

Changeset 3043

Show
Ignore:
Timestamp:
05/31/06 23:37:47 (2 years ago)
Author:
adrian
Message:

Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r3042 r3043  
    163163    ``auto_now``            Automatically set the field to now every time the 
    164164                            object is saved. Useful for "last-modified" 
    165                             timestamps. 
     165                            timestamps. Note that the current date is *always* 
     166                            used; it's not just a default value that you can 
     167                            override. 
    166168 
    167169    ``auto_now_add``        Automatically set the field to now when the object 
    168170                            is first created. Useful for creation of 
    169                             timestamps. 
     171                            timestamps. Note that the current date is *always* 
     172                            used; it's not just a default value that you can 
     173                            override. 
    170174    ======================  =================================================== 
    171175