Introduction In this post I will show you some of my ideas to fix Python code style in repositories that haven’t used code formatters so far. Without them, the files content may be difficult to read, especially when developed by many users. I will tell you about
Read more →In this article you will get to know: Why you shouldn’t host your application with the same settings used for development? What is the difference between development and production environments and settings? How to keep your production settings safely and conveniently? A bit proficiency in git version
Read more →When you need to somehow keep the state of your Django application, one of the possible solutions is to use sessions. They let you overcome the weakness of HTTP, which is, well, stateless. Django uses sessions by default for e.g. user authentication. You need this function if
Read more →There are many tutorials about how to decorate a function in Python language. In short, we do this as follows: Suppose we would like to decorate the whole class instead of a single method. How to do this? Let’s see next listing and find the difference from
Read more →