Evgenii Legotckoi
Evgenii LegotckoiMay 4, 2020, 2:21 p.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
mafulechkaApril 30, 2020, 6:36 a.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
Evgenii LegotckoiApril 26, 2020, 3:08 p.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
mafulechkaApril 23, 2020, 4:56 a.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
Said PyApril 23, 2020, 2:50 a.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.


#models.py

#Django Models ChoiceField    
class Profile(models.Model):
    # Country Choices
    CHOICES = (
        ('US', 'United States'),
        ('FR', 'France'),
        ('CN', 'China'), …
Read
Evgenii Legotckoi
Evgenii LegotckoiApril 22, 2020, 5:15 p.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
mafulechkaApril 14, 2020, 7:21 a.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
Said PyApril 13, 2020, 9:10 a.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


#empty list
list_1 = []

#checking if list is empty by using len()
if not llist_1:
    print('yes! the list is empty.')

#output 
#yes! the list …
Read
ДК
Джон КофиApril 13, 2020, 8:38 a.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
mafulechkaApril 12, 2020, 4:58 a.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
Ua

Qt - Test 001. Signals and slots

  • Result:84points,
  • Rating points4
Ua

Qt - Test 001. Signals and slots

  • Result:42points,
  • Rating points-8
ОК

Qt - Test 001. Signals and slots

  • Result:47points,
  • Rating points-6
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 11:51 a.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiOct. 31, 2024, 2:37 p.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 8:19 a.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 7:51 a.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 11:02 a.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
NW
Nayo WaiJan. 30, 2025, 9:22 a.m.
не запускается компьютер!!! Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
n
nklyJan. 3, 2025, 2:52 a.m.
Нужно запретить перемещение только некоторых итемов, остальные перемещать можно. Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
M
MarselAug. 16, 2023, 2:26 p.m.
OAuth2.0 через VK, получение email Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.
Evgenii Legotckoi
Evgenii LegotckoiJune 24, 2024, 3:11 p.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 6:04 a.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]

Follow us in social networks