<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Leonardo Veras - Blog</title><description>Articles by Leonardo Veras about backend development with Python and Django, Linux, projects and personal topics.</description><link>https://www.lvleo21.com/en/</link><language>en</language><item><title>MiniDLNA Manager: an app to bring movies from the PC to the living room TV</title><link>https://www.lvleo21.com/en/blog/minidlna-manager/</link><guid isPermaLink="true">https://www.lvleo21.com/en/blog/minidlna-manager/</guid><description>How a Marvel marathon turned into a GTK4 app to manage MiniDLNA on Linux, with a privileged helper through Polkit, ACLs, a systemd override and libadwaita 1.1 compatibility.</description><pubDate>Fri, 25 Sep 2026 00:00:00 GMT</pubDate><category>python</category><category>linux</category><category>gtk</category><category>projects</category></item><item><title>How do you order querysets in Django?</title><link>https://www.lvleo21.com/en/blog/django-ordering-querysets/</link><guid isPermaLink="true">https://www.lvleo21.com/en/blog/django-ordering-querysets/</guid><description>How to use order_by to sort in ascending and descending order, break ties with more than one field, ignore case, control where null values go and set a default order on the model.</description><pubDate>Wed, 07 Aug 2024 00:00:00 GMT</pubDate><category>django</category><category>python</category></item><item><title>What is the Django shell and how do you use it?</title><link>https://www.lvleo21.com/en/blog/django-how-to-use-the-shell/</link><guid isPermaLink="true">https://www.lvleo21.com/en/blog/django-how-to-use-the-shell/</guid><description>How to open the Django shell, make use of its automatic imports, run a .py file with manage.py shell and when to turn the script into a management command.</description><pubDate>Wed, 07 Aug 2024 00:00:00 GMT</pubDate><category>django</category><category>python</category></item><item><title>How do you paginate lists and APIs in Django?</title><link>https://www.lvleo21.com/en/blog/how-to-use-pagination-in-django/</link><guid isPermaLink="true">https://www.lvleo21.com/en/blog/how-to-use-pagination-in-django/</guid><description>Pagination with ListView and paginate_by, the page_obj attributes in the template, numbered links, filters kept in the URL and API pagination with Django REST Framework.</description><pubDate>Wed, 03 Jun 2020 00:00:00 GMT</pubDate><category>django</category><category>python</category></item><item><title>How do you control access by role with Django Role Permissions?</title><link>https://www.lvleo21.com/en/blog/how-to-use-django-role-permissions/</link><guid isPermaLink="true">https://www.lvleo21.com/en/blog/how-to-use-django-role-permissions/</guid><description>Role-based access control with django-role-permissions: roles, assigning them to users, checks in views and templates, object-level permissions and Django REST Framework integration.</description><pubDate>Wed, 27 May 2020 00:00:00 GMT</pubDate><category>django</category><category>python</category></item></channel></rss>