Evgenii Legotckoi
May 5, 2020, 12:21 a.m.

DjangoDjango - Tutorial 053. Adding Counters to Models in the Django Admin Panel

admin, Django, python

The other day, I started working on a content moderation application on the site and solved the problem of adding counters in the administrative panel.

It looks like this now

The task itself is trivial, but as it turned out …

Read
mafulechka
April 30, 2020, 4:36 p.m.

QtIntroducing Qt Quick 3D Benchmarking App

3D, Quick, Qt, Benchmark

Why a benchmark app?

With the upcoming release of Qt 5.15 and the improved version of Qt Quick 3D, the developers wanted to offer their customers and other users the ability to easily test the capabilities of their hardware. Thus …

Read
Evgenii Legotckoi
April 27, 2020, 1:08 a.m.

DjangoDjango - Tutorial 052. Redefining a User Model

Model, QuerySet, Python, django

There are various options for working with a user model for creating a user profile and adding some specific information, for example, a profile photo. One way is to add a profile model with the OneToOneField field for the user. …

Read
mafulechka
April 23, 2020, 2:56 p.m.

QtCMake versionless targets (Qt 5.15)

Qt, command, target, cmake

The Qt developers are working on porting Qt 6 to CMake as their internal build system. While Qt 6 is still a few months away, you can already see some of the benefits of this work in Qt 5.15. Christian …

Read
Said Py
April 23, 2020, 12:50 p.m.

DjangoWorking with Django model ChoiceField

models, Django

Today we going to explore how to work with model ChoiceField in Django.
To better understand, let's see the following examples.


  1. #models.py
  2.  
  3. #Django Models ChoiceField
  4. class Profile(models.Model):
  5. # Country Choices
  6. CHOICES = (
  7. ('US', 'United States'),
  8. ('FR', 'France'),
  9. ('CN', 'China'),
Read
Evgenii Legotckoi
April 23, 2020, 3:15 a.m.

EVILEGRefusal of advertising networks online EVILEG (Google Adsense, YAN Yandex, etc.)

EVILEG

So, perhaps the most joyful moment has come for many users of the EVILEG website. Namely, disabling advertising networks on the site.
Perhaps you would like to know the reasons for such an interesting behavior of the site owner, who, …

Read
mafulechka
April 14, 2020, 5:21 p.m.

QtQt Design Studio 1.5 Beta Released

Design Studio, Qt, release

Qt developers are happy to announce the beta version of Qt Design Studio 1.5

Qt Design Studio is a user interface design and development tool that allows designers and developers to rapidly prototype and develop complex user interfaces. Both designers …

Read
Said Py
April 13, 2020, 7:10 p.m.

PythonHow to check list is empty in python

python3

Hello guys, today we going to learn how to check if a list is empty


  1. #empty list
  2. list_1 = []
  3.  
  4. #checking if list is empty by using len()
  5. if not llist_1:
  6. print('yes! the list is empty.')
  7.  
  8. #output
  9. #yes! the list …
Read
ДК
April 13, 2020, 6:38 p.m.

Career and business in IT fieldPath to Programmers (C ++)

стать программистом с нуля, C++, Qt, карьера в IT

Hello. I am with you. I liked boxing and long-distance running, and I only thought about sports, but I trained as a sailor. I worked in aviation and became a C++ programmer at 29. I'll tell you how it happened. …

Read
mafulechka
April 12, 2020, 2:58 p.m.

QtNew features in CMake 3.17

cmake

On March 20, Kitware released CMake 3.17.
Below are some changes that should improve the life of a Qt developer using CMake.


Ninja Multi-Config Generator

This generator is similar to the Ninja generator but can be used to create multiple …

Read
mafulechka
April 3, 2020, 2:40 p.m.

QtWhat's New in QML in Qt 5.15

property, Qt, QML, required

While big changes are expected in Qt 6.0, QML has already received some new language features in 5.15. Read on to learn about required properties, built-in components, and nullish coalescing.


Required Properties

Sometimes you have components that require some property …

Read
mafulechka
March 26, 2020, 3:18 p.m.

QtQML Type Registration in Qt 5.15

qmlRegisterType, QMetaType, qmlRegisterSingletonType, Qt, QML, QML_ELEMENT

Qt 5.15 provides a much improved way to represent C++ types for QML. Now you can specify the name and version of your module in a central place, and you no longer need to specify minor versions or revisions. In …

Read
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup