Hello, I have a simple page model that has created and modified fields with auto_add and auto_now set to True. I'd like to keep track of the number of views per page so i added a views field to the model. However if i increment the views and save, then the modified gets changed. This trivializes the modified field as it will be updated every time someone views the page. Is there a way to update a single field only with the ORM or will i have to do a SQL query?
Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---