In my model, I have a date_created field that is defined as : date_created = meta.DateField(auto_now_add = True, db_index = True)
This field is correctly auto-populated upon creation when I invoke creation of the objects through a web interface (either the admin or my own). However, when I create an instance of the object at the shell (via python manage.py shell) and call save() on the instance, this field is not auto-populated. The only difference I see is that through the web, I'm using the AddManipulator's save() method, where as in the shell, I'm using the instance's save() method. Any ideas why obj.save() does not auto-populate the field ? Using sqlite3. Thanks, Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---