Just recently I started to learn Python and Django to build a web application. I am starting to really enjoy how Django is structured as a web framework, and definitely want to learn more.
However, I am starting to see that my code is starting to look very messy and the structure started to look very clunky, especially my templates.
So I am starting to try to keep as much logic out of my templates and instead be in the view (after reading this article: http://shibel.blot.im/django-keeping-logic-out-of-templates-and-views).
So I am curious, what are some of your best, recommended, or favorite Django (or Django Rest Framework) practices that you like to share.