
Django → Django Rest Framework - Tutorial 001. Adding Token Authentication
Django Rest Framework, QML, Authentication, Token, drf, Felgo
At the moment I am actively working on an application that will work with the REST API of a Django site. And one of the first steps was to set up user authentication by token, but in order for this …

Django → Django - Lesson 057. Multilanguage support in MarkdownField with auto populate functionality
MarkdownField, markdown, modeltranslation, Django
The article How to write auto populate field functionality described the simplest functionality of the MarkdownField field to support markdown syntax on a site with automatic generation of html content.
I did not immediately show advanced functionality to make it …

Django → Django - Tutorial 056. How to convert image to WEBP format when saving to ImageField
ImageField, Django, WEBPField, webp, Python
WEBP is an image compression format that was introduced by Google in 2010. Its main advantage is its low size without visible loss of quality compared to formats such as JPEG or PNG. Therefore, it is quite logical to use …

Django → Django - Tutorial 055. How to write auto populate field functionality
field, Django, python, auto, Python
For a long time I wanted to write an article on how to write auto populate field functionality for a Django project. This is a very useful feature that allows you to change the content of other model fields in …

Qt → Qt/C++ Tutorial 092. Creating translations for external text sources
Qt 6, Qt, Qt 5, QtLinguist, translation
Today we will discuss a rather interesting option for adding translation to a Qt/C++ application. Namely, adding translations for texts from external sources when you display texts from databases, an external API, or just some other files.
Such a situation …

Python 3 → Python: How to Test Internet Speed
Probably, you have used the
speedtest
website before, but did you know that speedtest has a python library.
In this tutorial, We will learn to use the speedtest library to test your internet Speed. We'll also learn how to use …

Qt → Installing the QIBASE (Firebird) Qt 6.2.1 driver on openSUSE Tumbleweed
Another reinstallation. I decided to install Qt 6 already.
The firebird components are installed as follows
Add to .bashrc
# custom PATH Qt 6 export PATH="$PATH:~/Qt/6.2.1/gcc_64/bin"
check if cmake is installed
and then as in the documentation https://doc-snapshots.qt.io/qt6-dev/sql-driver.html , only …

Qt → Release of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0
deploy, cqtdeployer, QML, Qt, deb

Qt → How to display debug Qt symbols if you are using CLion instead of QtCreator
I welcome everyone.
As everyone has known for a long time, Qt has already steadily switched to CMake, replacing QMake.
And this means that you and I can use other IDEs to work with this framework.
CLion works great with …

EVILEG → Happy New Year to all EVILEG Community !!!
Dear EVILEG users!
I congratulate you on the coming New Year!!!
I wish you happiness, health and success in programming in the new 2021!!!
As the creator of the site, I am very pleased that such a great community has …

C++ → Generating pseudo-random numbers in Qt (QRandomGenerator)
This note is a small addition to the article Generating pseudo-random numbers using the random STD library . The author omitted one of the useful functions of the QRandomGenerator class in it. The generator implementation is as follows:
QRandomGenerator *rg …

Qt → Asynchronous APIs in Qt 6
QFuture, Asynchronous, QtConcurrent, Qt, QThreadPool, Qt 6
As readers may already know, Qt provides several threading constructs (threads, mutexes, wait states, etc.) as well as higher-level APIs such as QThreadPool, Qt Concurrent, and other related classes. This article will cover the higher level asynchronous APIs and the …
Fornex
Let me recommend you a great European Fornex hosting.
Fornex has proven itself to be a stable host over the years.
For Django projects I recommend VPS hosting
Following the link you will receive a 5% discount on shared hosting services, dedicated servers, VPS and VPN
View Hosting