This blog post will show you how to customise your Python REPL by running a Python file before the interactive prompt is loaded. This is achieved using the `PYTHONSTARTUP` environment variable. This blog post will show you how to customise your Python REPL by running a Python file before the interactive prompt is loaded. This is achieved using the PYTHONSTARTUP environment variable. Initial set…
In community-led organizations, I believe that for long-term sustainability, we need to do more to encourage younger folks to become involved and take on leadership positions. Younger individuals won’t break a community, but not encouraging them may well do so. In community-led organizations, I believe that for long-term sustainability, we need to do more to encourage younger folks to become…
This is my guide on how I go about finding a ticket on Django's trac to work on. Django's issue tracker Django's issue tracker is hosted at code.djangoproject.com . This contains the entire history of ticket's opened for Django. At time of writing this is some 18 years ago! This is a valuable resource when working on Django as you are able to research previous decisions. From the summary page…
A walk through of building a bootstrap 5 styled form using only Vanilla Django. Exploring per-project, per-form and per-field customisations. I tooted a little while back about how using django-crispy-forms and it's Layout class could ease writing forms. It showed how a minimal Layout could result in a nice looking form with some complex layouts such as two input boxes on the same row. Here's the…