> agreed, in a perfect world i would parse the log files. But > sometimes you don't have access to a cron daemon.
In this case you should read the database API documentation page. Then your code looks something like this: from django.shortcuts import get_object_or_404 from my.models import MyObj def detail(post_id): myobj = get_object_or_404(MyObj, id=post_id) myobj.count += 1 myobj.save() --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---