Evgenii Legotckoi
Evgenii LegotckoiSept. 21, 2016, 12:12 p.m.

DjangoDjango - Tutorial 007. Adding Pagination based on django-bootstrap3

Pagination, Python, django-bootstrap3

The number of articles on the new site began to approach the 10 pieces, so urgently add Pagination, to be able to flip through the pages on the site. But as already used django-bootstrap3 module, and Pagination will be used …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 21, 2016, 12:13 a.m.

DjangoDjango - Tutorial 006. Customizing error pages 403, 404, 500

403, 404, Python, 500

Many resources are decorated error pages if there is a failure in processing a request from the client.
For a start has been made on the site customization of the most frequently occurring errors and other debugging until you come …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 20, 2016, 1:20 p.m.

DjangoDjango - Tutorial 005. Adding RSS feeds to the site on Django

Feed, RSS, Python

While still not a lot of articles on the new site, I add RSS-feed, the benefit of that Django has a built-in functionality for organizing RSS-feeds, as in the usual format, and the Atom format. But first, usually confine adding …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 18, 2016, 8:48 a.m.

DjangoDjango - Tutorial 004. Implementing Bootstrap 3 to site on the Django

Bootstrap

Web site design and layout are pretty important issues, and sometimes it would be desirable to develop a website with good and interesting design ... but ... not all of us are designers, and even less good designers. So it …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 18, 2016, 3:41 a.m.

DjangoDjango - Tutorial 003. Model, Template, View on Django

template, model, view

In Django uses a modular system of applications, where one application is composed of several applications, each responsible for its functionality. As you have noticed, at the time of this writing, the site has a section "Knowledge", in which there …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 16, 2016, 3:25 p.m.

DjangoDjango - Tutorial 002. Syntax highlighting of code on site

PrettyPrint, SyntaxHighlighting

The biggest problem when you start writing a site from scratch on the Django was code syntax highlighting. Okay, I was on Wordpress the plugin that works with the task, though a bit loaded site as highlighting was organized on …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 16, 2016, 1:56 p.m.

DjangoDjango - Tutorial 001. Deploying a site on Django + PostgreSQL + Gunicorn + Nginx

PostgreSQL, Nginx, Gunicorn, Ubuntu, Django

Once access to the server with Ubuntu 16.04 was set in a previous article, it is time to expand on it everything necessary for operation of the site, namely:

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 16, 2016, 1:38 a.m.

PostgreSQLCorrection database encoding of PostgreSQL from LATIN1 to UTF8

PostreSQL, Ubuntu, LATIN1, UTF8

In the process of server settings for the site, I had to face some problems. In particular, the problem of the PostgreSQL database encoding. The fact is that when you install the PostgreSQL, database templates created with the coding LATIN1, …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 14, 2016, 1:18 p.m.

LinuxInitial configuration of access to VDS at Ubuntu 16.04

Ubuntu, VDS, Linux

Because a develop the resource EVILEG, I decided to move it to the domain COM, and transfer the website from CMS Wordpress to the framework Django. With Ruby On Rails somehow it did not work out, but with the Django …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 3, 2016, 11:03 a.m.

PyQt5PyQt5 - Lesson 002. Hello World on PyQt5

qt5, qt, PyCharm, qt уроки, PyQt5

Python - a high-level general purpose programming language, focused on improving developer productivity and code readability. And also widely used for writing Web-based applications. But to work with Qt for Python was developed Library PyQt5 by Riverbank Computing, which is …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 28, 2016, 11:17 a.m.

QtQt/C++ - Lesson 055. QSignalMapper VS lambda functions

лямбда функция, Qt, C++, lambda, QSignalMapper

QSignalMapper is a wonderful class to organize the work of the signals and slots dynamically created objects. For example, the dynamically created buttons or objects in QStackedWidget. This was particularly true in older versions of the software, that is, and …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 28, 2016, 11:08 a.m.

QtQt/C++ - Lesson 054. Reading data from a CSV file, and their representation via QStandardItemModel

CSV, Qt, QTableView, QStandardItemModel

CSV data format ( Comma-Separated Values ) format is the simplest representation of tabular data. This format is supported by Excel and many other office suites. For example, I often encounter this format when uploading statistics do the site of …

Read
d
  • dsfs
  • April 26, 2024, 2:56 p.m.

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
d
  • dsfs
  • April 26, 2024, 2:45 p.m.

C++ - Test 002. Constants

  • Result:50points,
  • Rating points-4
d
  • dsfs
  • April 26, 2024, 2:35 p.m.

C++ - Test 001. The first program and data types

  • Result:73points,
  • Rating points1
Last comments
k
kmssrFeb. 9, 2024, 5:43 a.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 9:30 p.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 7:38 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 19, 2023, 8:01 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
G
GarApril 22, 2024, 3:46 p.m.
Clipboard Как скопировать окно целиком в clipb?
DA
Dr Gangil AcademicsApril 20, 2024, 5:45 p.m.
Unlock Your Aesthetic Potential: Explore MSC in Facial Aesthetics and Cosmetology in India Embark on a transformative journey with an msc in facial aesthetics and cosmetology in india . Delve into the intricate world of beauty and rejuvenation, guided by expert faculty and …
a
a_vlasovApril 14, 2024, 4:41 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 14, 2024, 12:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 2:47 p.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…

Follow us in social networks