All articles tagged Django

Thumbnail image for Disabling Error Emails in Django

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 a great feature for small sites where minor problems would otherwise go unnoticed. Once your site start getting lots of …
Thumbnail image for Django Anti-Patterns: Signals

Django Anti-Patterns: Signals

Django’s Signal Dispatcher is a really powerful feature that you should never use. Ok, it has valid use cases, but they may be rarer than you think. First, to dispel a misconception about signals, they are not executed asynchronously. There …
Thumbnail image for Sharing Media Files Without S3

Sharing Media Files Without S3

Nowadays, it’s common to deploy multiple application servers, but it poses a very common problem; How are these application servers going to share the media files contributed by the users? Cloud providers like Google, Rackspace or Amazon Web Services solve …
Thumbnail image for Faster Django Sites with PyPy

Faster Django Sites with PyPy

This post was created as a collaboration between Lincoln Loop and Maciej Fijalkowski from baroquesoftware.com. In the space of web architecture, the prevalent belief states that “database based applications are I/O bound”. While this might have been true in the …
Thumbnail image for The uWSGI Swiss Army Knife

The uWSGI Swiss Army Knife

uWSGI is one of those interesting projects that keeps adding features with every new release without becoming totally bloated, slow, and/or unstable. In this post, we’ll look at some of its lesser used features and how you might use them …
Thumbnail image for Fast Immutable Python Deployments

Fast Immutable Python Deployments

Alternate title: Pip 7 is Awesome, Here’s Why A typical Python deployment looks like this: Pave the server, setting up a virtualenv and installing any pre-requisites necessary to build/install the Python requirements (compiler, development headers, etc.). To update to a …
Thumbnail image for Concurrency in Python vs GO

Concurrency in Python vs GO

At Pycon in Montreal few weeks ago I attended a talk that blew my mind away and got me thinking: Python concurrency from the Ground Up: LIVE! by David Beazley. The video is available on YouTube. The gist of the …