Well, what I want is t implement voting application, so my users can see article, vote for it and see the vote displayed So I want to show in template: this page was viewed 100 times, and has 10 votes for example
how can I get those numbers On Sat, May 16, 2009 at 12:12 PM, Antoni Aloy <[email protected]> wrote: > > 2009/5/15 Oleg Oltar <[email protected]>: > > Hi! > > > > I am writing simple article manager application. Is there a way I can > store > > pageviews number for my articles in database (want to display them in > > future, and use for rating on site) > > > > Thanks in advance, > > Oleg > > > You can use google analytics for that. > You can store it also in your views before displaying the page or you > can use your own javascript method. > > Perhapts I don't understand the question, but if you own the site you > can do whatever you want. If you use the view method you can't use > cache and this could have a great impact in performance. It depends on > your needs and application. > > -- > Antoni Aloy López > Blog: http://trespams.com > Site: http://apsl.net > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

