BLOG
All articles tagged Development
Cracking Django Password Hashes
Most of the Django projects I work with take advantage of django.contrib.auth. It manages users and groups and is tightly …
Sandboxing Services with Systemd
With Ubuntu 14.04 (Trusty) now a year away from end-of-life, we’ve been planning and performing upgrades for the soon-to-be legacy …
Logging to Systemd's Journal in Python
I’ll be the first to admit that I was skeptical about Systemd and its companion log aggregator Journald, but after …
Goodbye manage.py
Every Django project starts with a manage.py file in its root. It’s a convenience script that allows you to run …
Using setup.py in Your (Django) Project
A client recently asked me why all the Django projects we create have a setup.py in the root of the …
Django Logging, The Right Way
Good logging is critical to debugging and troubleshooting problems. Not only is it helpful in local development, but in production …
Disabling Error Emails in Django
One of Django’s nice “batteries included” features is the ability to send emails when an error is encountered. This is …
The Trouble with Thumbnails: Part 2
In this long overdue follow-up to Part 1, I’ll be discussing the infrastructure issues associated with creating and serving image …
Django Patterns: Fat Models and cached_property
One of my favorite patterns in Django is the combination of “fat” models and cached_property from django.utils.functional. Fat models are …
Linting SCSS with sass-lint
Linting SCSS with sass-lint Complex projects always require multiple developers and design heavy web sites are no exception. Sass/SCSS is …