Re-cycledair - re-cycledair.com - Re-Cycled Air

Latest News:

Integration Testing With Django and Lettuce: Getting Started 25 Jun 2013 | 09:39 pm

The Ruby on Rails community has long been a proponent of Behavior Driven Development(BDD) and has a great ecosystem around it supporting that testing methodology. From Cucumber to Capybara, RoR develo...

Lettuce Tags 24 May 2013 | 12:18 am

Lettuce is a BDD (Behavior Driven Development) testing tool for Python based on the excellent Cucumber project. It has most of the same features that Cucumber has, and has proven invaluable in my proj...

Requirements 14 May 2013 | 05:46 pm

There is a grand myth about requirements–if you write them down, users will get exactly what they want. That’s not true. At best, users will get exactly what was written down, which may or may not be ...

Saving within a post_save signal in Django 24 Apr 2013 | 10:13 pm

One of the more useful features of the Django framework is it’s extensive signaling capabilities. The ORM throws off a handful of signals every time a model is initialized, modified, saved, or deleted...

Programmatically Adding Users to Groups in Django 21 Mar 2013 | 09:30 pm

I recently needed to add a large number of users to a permission group in Django. I had a hard time finding a way to do this in the documentation, so I thought I’d share my solution. from django.contr...

Copying Django Model Objects 8 Mar 2013 | 05:54 pm

Django’s ORM is top notch. It provides facilities to do almost anything you can think of with a database, and if it doesn’t, it still lets you execute arbitrary SQL to your hearts content. I’ve been d...

Update All PIP Packages 12 Feb 2013 | 09:08 am

Revisiting an old Python + Django project made me realize that I needed to upgrade it’s PIP packages. Unfortunately, PIP doesn’t provide a way out of the box to update all of your installed packages a...

28 Questions 9 Jan 2013 | 10:24 pm

Over the past few years I’ve tried my hand at launching a couple of different start ups. Over this time period, I’ve collected a set of questions from many different sources (HN, YCombinator, TechStar...

Installing Local Flavor with Django 1.5 5 Jan 2013 | 08:28 pm

I just started a new project using the latest release candidate of Django 1.5. One thing that I needed was the local flavor add-on so I could get a list of US states. This functionality used to be rol...

Extending Django’s Model.save() Method 26 Nov 2012 | 05:42 am

I’m currently working on a project where I have a model named ‘Instructor’ with a few fields: first_name – CharField last_name – CharField departments – Many-toMany I found out at some point that I’d ...

Recently parsed news:

Recent searches: