Last visit 1 day, 20 hours ago

Evgenij Legotskoj

EVILEG

  • 31
  • 0
Donate
Evgenij LegotskojNov. 4, 2019, 5:15 a.m.

QMLQML - Tutorial 036. Working with Signals and Slots in QML

Slot, QML, Signal, cpp, Qt

This article is the most comprehensive description of signals and slots in QML compared to all previous articles on this site.

In this article, I will try to explain the following when working with Qt/QML + Qt/C++:

  • ways to declare …
Evgenij LegotskojNov. 3, 2019, 4:03 a.m.

DjangoEVILEG-CORE. Caching properties of model objects using model_cached_property

EVILEG, ESNF-C, model_cached_property, Django

To speed up the site, in addition to optimizing database queries, you can use caching.

Django allows you to cache:

  • individual view , both Class Based View , and ordinary functions view
  • whole templates or parts of these templates
  • QuerySet …
Evgenij LegotskojOct. 27, 2019, 4:56 a.m.

DjangoEVILEG-CORE. Using Google reCAPTCHA

ESNF-C, CORE, EVILEG, reCAPTCHA, Google

This will be the first article on the use of a set of established utilities that are present in the core of the EVILEG site. This part of the site’s program code is in open source, so I want to …

Evgenij LegotskojOct. 27, 2019, 4:55 a.m.

EVILEGRelease EVILEG-CORE 0.0.5

Django, Releases, Python, EVILEG, ECNF-C

Introducing the new release of EVILEG-CORE 0.0.5.


The following changes are included in this release:

  • cached_property renamed to model_cached_property
  • cache_invalidate_cached_property renamed to invalidate_model_cached_property
  • added invalidate_cache method in EAbstractActivity as coding arrangement
  • added cache_invalidate_activity
  • model_cached_property , invalidate_model_cached_property , cache_invalidate_activity were moved …
Evgenij LegotskojOct. 22, 2019, 1:39 a.m.

DjangoDjango - Tutoral 049. Optimizing Django Performance with a Real Project

Django, django-silk, performance

Recently I have devoted a lot of time to website optimization and now I would like to talk about it.
This article will explain the use of the select_related and prefetch_related methods in QuerySet, as well as their differences. I …

Evgenij LegotskojOct. 7, 2019, 3:34 a.m.

QtUndocumented QMake - CONFIG += resources_big

Qt, QMake, resource

Our project uses a very large number of resources, both ordinary icons and svg images. At some point, the project stopped assembling on developers' PCs with a small memory capacity of 16 GB.

The problem turned out to be that …

Evgenij LegotskojOct. 7, 2019, 1:42 a.m.

EVILEGRelease EVILEG-CORE 0.0.4

ESNF-C, EVILEG

After about 5 months of refinement of the site, I release a more elaborate version of the evileg_core package.

This release includes both new functions and utilities, and the old functionality has been finalized. For example, Markdown field behavior has …

Evgenij LegotskojSept. 2, 2019, 7:31 a.m.

DjangoDjango - Tutorial 048. How to add online status to a site

Backend, Auth, Python, Django

For a long time I did not add such functionality on the site for the simple reason that I did not know which side to approach this, because I would like to process this information in one single place, and …

Evgenij LegotskojSept. 1, 2019, 10:15 a.m.

QtQt/C ++ - Tutorial 089. Buttons with absolute positioning inside QGraphicsView

Qt, QGraphicsView, QWidget, QPushButton

Considering the number of questions on the forum related to how to add buttons inside QGraphicsView, I decided to write a small tutorial on this topic. Moreover, there are various variations of the question. It can be a regular button, …

Evgenij LegotskojAug. 26, 2019, 3:51 a.m.

DjangoDjango - Tutorial 047. How to do select_related and prefetch_related for an authenticated user

Backend, Model, Django, user

Imagine that for an authenticated user, when opening pages, some requests are constantly being executed, for example, an additional list of notifications is loaded, as well as his profile. And we use this information in templates, for example this way. …

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