Automating Django application configuration

Automating Django application configuration
Image Credit to Ben Allan
A novel way to configure a Django application with a single CLI command, withouwt editing project files directly
Read more →

Automating Django application configuration: an in-depth view

Automating Django application configuration: an in-depth view
Image Credit to Fidel Fernando
What’s AST? How django-app-enabler works? A detailed step-by-step guide at the inner working details of django-app-enabler and how it applies AST to manipulate a django project configuration
Read more →

Cleaning up you test suite with pytest parametrize

Cleaning up you test suite with pytest parametrize
Image Credit to Bogdan Karlenko
Some notes regarding pytest.mark.parametrize, a feature that can change the way you plan your tests
Read more →

TIL - 🧹 unimport linter formatter

what if you (like me) don’t like to clean up your code while in the zone, but you value a linted and well formatted codebase?
Read more →

TIL - 🎁 Extracting modules provided by installed package

How do I get at runtime the list of modules installed by package? Use setuptools, Luke!
Read more →

TIL - Submitting a form from an external button

You can submit a form from a button not included in the form itself
Read more →

My Python linting setup in 2020

My Python linting setup in 2020
“How I Learned to Stop Worrying and Love the automated code formatting”
Read more →

Converting a django CMS plugin to a different model

Converting a django CMS plugin to a different model
Migrating django CMS plugins data from one model to another, for example during an upgrade, is a bit tricky. Thansk to its polymorphic nature, though, it’s not complicated to achieve, one you know the underlying structure.
Read more →

My experience with Hugo

My experience with Hugo
A brief description of my first experience with Hugo and the stack that I use to publish this site
Read more →

TIL - Accessing sass variables in JavaScript 🤯

TIL - Accessing sass variables in JavaScript 🤯
How to leverage webpack to import sass variables in JavaScript
Read more →

Building real time applications with Django and Channels 2 @ DjangoCon Europe 2018

Building real time applications with Django and Channels 2 @ DjangoCon Europe 2018
Since the introduction of Channels, real time web has become much easier to work with in Django. It’s now possible to build real time applications with much less effort in managing the idiosyncrasies of the async programming and a lot of batteries are included. Starting with a brief introduction to Channels (targeting version 2.0), we will see how to build a real time application, both on the Django and the frontend side and how easy it’s to start experimenting with it. The talk has a very hands-on approach, to allow the attendees to experiment with the proposed solution and approach, and starting immediately building their own real time applications with Django.
Read more →

Building real time applications with Django and Channels 2 @ PyCon Italia 2018

Building real time applications with Django and Channels 2 @ PyCon Italia 2018
Since the introduction of Channels, real time web has become much easier to work with in Django. It’s now possible to build real time applications with much less effort in managing the idiosyncrasies of the async programming and a lot of batteries are included. Starting with a brief introduction to Channels (targeting version 2.0), we will see how to build a real time application, both on the Django and the frontend side and how easy it’s to start experimenting with it. The talk has a very hands-on approach, to allow the attendees to experiment with the proposed solution and approach, and starting immediately building their own real time applications with Django.
Read more →

Real Time Django @ Swiss Python Summit 2018

Real Time Django @ Swiss Python Summit 2018
Since the introduction of Channels, real time web has become much easier to work with in Django. It’s now possible to build real time applications with much less effort in managing the idiosyncrasies of the async programming and a lot of batteries are included. Starting with a brief introduction to Channels, we will see how to build a real time application, both on the Django and the frontend side and how easy it’s to start experimenting with it.
Read more →

django CMS & ORM: The good, the bad, and the ugly

django CMS & ORM: The good, the bad, and the ugly
django CMS is a complex Django application which heavily relies on the Django ORM to accomplish its goals. Some of its patterns are good references about how flexible the Django ORM is, others are more hacked solutions for complex problems, which shows ‘don’t try at home’ practices.
Read more →

Testing Django Applications @ PyCon Uk 2015

 Testing Django Applications @ PyCon Uk 2015
Testing applications integrated with django CMS can be complex with a lot of boilerplate code and some dark corners This talk will try to make it clearer and easier to write tests and will present tools to reduce the effort and the boilerplate.
Read more →

Django CMS Best Practices @ PyCon It 2015 / London Django Meetup

Django CMS Best Practices @ PyCon It 2015 / London Django Meetup
Read more →

First steps with django CMS @ PyCon Uk 2014

First steps with django CMS @ PyCon Uk 2014
Read more →