hi, there.

please consider the following situation.

say, there are three different tables in your database structure;
'catalogue', 'book' and 'cataloguebook' (which maintains an n:m
relationship between 'catalogue' and 'book'), and if you set your
'lastmodified' field in 'cataloguebook' like the following,

lastmodified = models.DateTimeField('last modified', auto_now = True,
core = True),

somehow you are not allowed to update the contents of 'cataloguebook',
but it works fine if you set the 'auto_now' field option to 'False' (in
this case, you have to manually update date and time).

my question is.. is 'auto_now' option not allowed in intermediary
tables like 'cataloguebook' here? it works fine in other tables like
'catalogue' and 'book' though.

thanks for your time reading this.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to