Re: Calculations in Queries
On Thu, Aug 16, 2012 at 2:31 AM, Callum Bonnyman <bonnyman7@gmail.com> wrote:
> I am creating a popular page for my app and for the most part this is just
> to gain an understanding.
<snip>
> Any ideas? I know its something to do with query expressions and looking at
> this page confuses the hell out of me. Any guidelines, or is this even
> achievable?
>
Why don't you use sessions for the same. That is, in a session find
number of clicks on the pages by a user, then save it in database.
Then just get the page that has maximum clicks, that will be the most
popular page.
Just a wild idea.
--
Sandeep Kaur
E-Mail: mkaurkhalsa@gmail.com
Blog: sandymadaan.wordpress.com
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home