Hi there, I created a model with a date field in order to have a timestamp of when has been the last modification of the object.
As in the basic tutorial I wrote my model as: data = models.DateTimeField () Wich should be in SQL: "data" timestamp with time zone NOT NULL (ref: http://docs.djangoproject.com/en/dev/intro/tutorial01/) However I get this SQL: CREATE TABLE `projectes_projecte` ( (....) `data` datetime NOT NULL, (...) where the field data does never auto update. I've seen (googling) that in MySQL the synatx is different than "timestamp" but does anyone knows how could I fix it by writing the django model? Thank you!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---