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 …
ReadDjango → 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 …
ReadDjango → 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 …
ReadQt → How to open image with correct orientation with Qt tools
QImageReader, поворот изображения при загрузке, QImageWriter, поворот изображения, метаданные jpg
Some popular image formats (like jpg) may contain metadata. One of them is rotation. If you create the file in a graphics editor, then rotate it in the viewer, and finally load it into your application using the QImage, QPicture, …
ReadDjango → django_model_cached_property - Caching property for individual model objects in Django
cache, model_cached_property, invalidate, redis, Python 3, Django
Introducing the release of the stable battery django_model_cached_property for caching property for individual model objects in Django.
I already said that evileg_core contains similar functionality, but now I decided to bring this caching into a separate package. This is due …
ReadC++ → Engineering solution of a cubic equation using Vieta's trigonometric formula
кубическое уравнение, unique_ptr, компьютерная математика, полиномиальное уравнение, тригонометрическая формула Виета
As you know, the solution of the cubic equation has been known since the 16th century. However, even today, engineers can face a problem in solving it. This complexity is due to the need to extract the root from complex …
ReadDjango → Analysis of errors in the development and promotion of a site on Django - Custom tag<cut>
And now some thoughts on the topic of custom tags, and whether they should be introduced at all.
The short answer is NO.
Now let's think about this topic - "Why?" . There is such a well-known Russian-language resource Habr, …
ReadDjango → Analysis of errors in the development and promotion of a site on Django - Multilingual forms
forms, Мультиязычноть, Django, Translations
With this publication, I would like to start sharing my observations after almost seven years of supporting the EVILEG project. So that every newbie could roughly understand and imagine whether it is worth doing a similar or different functionality or …
ReadJava → Java Array Programs
Arrays in java:
- An array is the basic Data Structure that contains items of similar data types.
- There is always an ordering amongst the position of the element.
- It can be accessed with the help of the indices. Java supports …
- Akiv Doros
- Nov. 11, 2024, 7:58 p.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:50points,
- Rating points-4
- molni99
- Oct. 26, 2024, 6:37 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:80points,
- Rating points4
- molni99
- Oct. 26, 2024, 6:29 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:20points,
- Rating points-10