Roman's Blog

Random notes of a Python enthusiast

Featured Image

Bootstrap4-based Pagination Buttons for Django ListView

 May 11, 2018    0 comments 

Often, when displaying multi-page lists in html pages rendered from Django templates, we need to include a pagination control, usually a set of navigation buttons, that is both functional and good looking. In this post I'll describe the solution used in this blog to paginate the list of search results. (...)

Read post

 DjangoHTMLPython

Featured Image

My Blog's New Look

 May 6, 2018    0 comments 

As you can see I have completely re-worked this blog's design. The new skin is based on Bootstrap 4 and hopefully is more pleasant looking than the old one.

Read post

 DjangoHTML

Featured Image

Python 3.7’s new builtin breakpoint and Web-PDB

 April 30, 2018    0 comments 

Recently, I came across an article about Python 3.7’s new builtin breakpoint published on Medium. The article published in March describes the new Python 3.7 feature - built-in breakpoint() function that suspends Python program execution and starts a debugger (the built-in PDB by default). But for me the most interesting part is that the article mentions my Web-PDB remote debugger and describes how to use the new breakpoint() function with it. It's nice to know that people are actually using my work and reference it in their articles.

Read post

 Python

Featured Image

Scrapy Tutorial - Part 1

 Jan. 25, 2018    0 comments 

In this tutorial I will show you how to scrap information from websites with Python using popular Scrapy library. (...)

Read post

 PythonScrapy

Featured Image

Setting Up MySQL in LibreELEC on Raspberry Pi

 Nov. 17, 2017    0 comments 

Kodi mediacenter can maintain a common medialibrary on MySQL database server. This way a media library, including "watched" and "in progress" marks, can be synchronized between several Kodi instances. The official Kodi Wiki provides instructions on how to set up MySQL server on various platforms, however those instructions do not include LibreELEC — a popular mediacenter software based on Kodi that runs on various platforms, including different versions of Raspberry Pi single-board computers. (...)

Read post

 KodiMySQLRaspberry Pi