I have a table with an IntegerField (hit_count), and when a page is visited (for example, http://site/page/3) I want record ID 3's hit_count column in the database to increment by 1.
The query should be like:
update table set hit_count = hit_count + 1 where id = 3
Can I do this with the standard Django Model conventions? Or should I just write the query by hand?
 
     
     
     
     
    