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 …

Yann Malet

Yann Malet October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Peter Baumgartner

Peter Baumgartner October 17, 2024

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 …

Michael Trythall

Michael Trythall October 17, 2024