The problem is that if I'm putting polls on every page of the blog, then I have to change each URL in the urlconf to optionally include a has_voted variable, right (since I'm returning people to their originating page via a redirect, not via the POST request itself)?
Unless I'm going to store it in a cookie or in the database, in which case it can be retrieved from anywhere, which I suppose is a better idea anyway, so that it persists across page loads. Ah, I see that you're using cookies and the DB for tracking that stuff in your example. I'll probably use a cookie for now since it's simpler, and set up the function for my custom template tag to look that up and return either the form or the results depending on whether the user has voted. That should work, right? I'm always torn about the HTTP_REFERER server variable, because it's convenient, but a lot of proxies block referrers, and AOL in particular seems to mess with them. But this blog is just an exercise anyway, so in this case I don't think it matters too much. ;-) Thanks again for your help! --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---