Skip to content

Content Tagged "django"

Page 2 of 2

Content Tagged "django"

Easy django applications with cookiecutter

February 20, 2014Category: Software
Now I'm trying to create a bunch of django applications and I've got tired of creating everything from scratch. So, here are the steps I'm using to easy create a new django app: Create a new virtual environment . This is vital. It allows you to set up your own versions, not pollute the default…

Make pyflakes/pylint ignore unused imports

February 12, 2014Category: Software
Sometimes, you need to add an import without explicitly using it, just to have stuff defined. In such cases, both pyflakes and pylint generate messages, which can be annoying. For example django-appconf has a class-based configuration like so: If I'm using the file like this, then I'll end up…

Decent image loader widget in django

January 25, 2014Category: Software
I'm working on a website where I need to be able to load an image. The default widget is abysmal; it has a url to the current image, a checkbox and a file loader input element. Even styled, it looks pretty bad. So, I've taken upon myself to prettify it and get from this: caption id="attachment_4…

Speed-up easy-thumbnails on S3

January 19, 2014Category: Software
I was developing a small app as a playground and confidence builder, choosing django , heroku and S3 as resources. One of the packages used is easy-thumbnails . Behaviour I chose to use the easy-thumbnails app with S3, a possibility granted by the storages framework. At a glance, everything…

Improve S3Boto Django-Storages Performance with Custom Settings

May 13, 2013Category: Software
Django-storages is a great piece of software. It provides an uniform API for all kind of file storage backends, including Amazon's S3 . I use it for storing assets (the /static/ and /media/ ) for my django app. However, particularly with the /static/ assets, I've noticed firebug / yslow…

Deploy django application with private dependencies on dotcloud

January 28, 2013Category: Software
Update: This is an outdated entry. DotCloud went to cloudControl , which joined ExoScale These days I'm trying to deploy an application on a something quicker than my shared host ( ). Not that there's anything wrong with this provider (this blog is on it), but the latency is a bit…

All tags