Django → Django - Lesson 063. Full text site search for multiple models with multilingual support
Django, python, Django 3, modeltranslation, full-text search, Django 4
Finally, I managed to make a fairly fast full-text search across several models, taking into account the optimization of requests on the site, which would suit me and meet my requirements for the quality of the project.
If you now …
Django → Django - Lesson 062. How to write a block-template tabbar tag like the blocktranslate tag
tag, templatetags, Django, Django 3, Django 4, template
In this article, I'll show you exactly how you can write a simple block template tag, like the blocktranslate tag in Django .
These block template tags have an opening tag and a closing tag, and the most common one …
Django → Django - Tutorial 061. Adding a Unique View Count
Django, Counter, Django 3, python, Django 4
At the very beginning of creating articles and questions on the forum, I added a simple counter of views on this content.
This counter was an ordinary field of integer type and each time a page was requested it was …
Django → Django - Lesson 060. Speeding up a website with caching templates
Django 3, model_cached_property, cache, Django 4, invalidate, Django
One of the ways to significantly speed up the speed of a Django site is to cache both individual parts of the site templates and cache the templates after they are compiled by the site. Therefore, we will study both …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Now discuss on the forum
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
- Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.