Maxim DanilovNice try, but can be better:use Raw query is hard und not flex.1 min read·May 19, 2023--1--1
Maxim DanilovAlex Murphy, this is dev.genius blog and not the copy-paste python tutorials.All thau you write is base of Python. This is a Standart and not the "useful tricks".1 min read·Aug 30, 2022----
Maxim DanilovDiwash, probably you are newer works with multilanguage projects.How about model-data translation? Interface translation is only 0.1% of whole translation base.1 min read·Aug 30, 2022----
Maxim DanilovPlease try to understand the article before writing comments.I will only help you not to write "admin.site.register" before or after each ModelAdmin and not to import models into the admin module.1 min read·Jun 14, 2022----
Maxim DanilovNow I can say for sure: Andrews Agyemang Opoku!1. Please you are missing the whole point of why .get is used as opposed to .filter when getting record with "unique" constraint. Most…2 min read·Jun 7, 2022----
Maxim DanilovinDev GeniusAutoregister Django ModelAdminsSome time ago I discovered that Django has the ability to auto-register ModelAdmins. This carries a number of benefits, now I tell about…3 min read·Jun 7, 2022--1--1
Maxim DanilovReally?You have created a subquery in a query and you think you are avoiding duplicate queries?1 min read·May 4, 2022----
Maxim DanilovinDev GeniusHow to solve the singleton problem in Django ModelAdmin.Every registered ModelAdmin in your Django project is a singleton. You can learn how to solve this problem in 5 lines in this article.8 min read·May 3, 2022----
Maxim Danilov"prefetch_related and select_related works on the same principle of prefetching data from the…i am not agree with that.1 min read·Apr 17, 2022----
Maxim DanilovThe Python and Django conferences you don’t want to miss in 2022Quick reminder for those, who would like to broaden their horizons: there is PyCon DE Berlin coming up already next week!3 min read·Apr 10, 2022----