Quite often we have to write paginated or filtered blocks of information on page. For example, list of similar houses. It's rendered on server first, and later pagination is done with ajax.
In order to make, I used following setup:
So in order to edit one such block, we have to edit three files (apart from template) - tag, view, url.
I got annoyed by this and decided to create a decorator that would automate this process.
With this decorator, you just have to write one function that creates context. Tag and view are generated and registered automatically. Url params like
?obj_id=1 are declared in decorator and are processed automatically.
Lead management is an important part of the marketing strategy of every company of any size. Besides automating various business processes, privately-held organizations should consider implementing an IT solution that would help them manage their leads. So, how should you make a web-based leads management system for a University in order to significantly increase sales?
Nowadays, when every second large company has developed its own instant messenger, in the era of iMessages, Slack, Hipchat, Messager, Google Allo, Zulip and others, I will tell you how to keep up with the trend and write your own chat, using django-channels 0.17.3, django 1.10.x, python 3.5.x.