python - Dynamically Created Top Articles List in Django? -


I'm creating a Django Power site for my newsletter site at least clear and achieving this site The task of common sense is the best way to create a "header" list for the sidebar of the page.

The first thing that came to mind is that it is a database column of any kind that is updated with every view It is done (based on what?) It seems that (for my tendency) Haas Yaspd database intensive and impractical and thus I think I want to find another solution.

Thanks all.

I will give a try (along with the Django-Salehi) though configuring it as a cache and using it It is not so easy to do, it enables you to work as counters while enlarging the queue and in the background, it can also be combined with the cache technique - the incremental increment in the cache defines the counter and periodic tasks which Every time and again Lane will reset the counter and write them in the database.

I remember - I found once the AJAX JS call provides a good way to increase the 'View count' (or similar) column in the database, if you do not have heavy traffic, is it good Is the idea

This post has also been mentioned, but I do not know much about it, I have never used it myself (yet)


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -