« Older Home
Loading Newer »

Author Archive for davedash

λ^2: safely doing class based views in Django

by Dave Dash 09Mar10

When I started rewriting the API for addons.mozilla.org, my views were mostly the same: get some data and render it as either JSON or XML. I also wanted all my API methods to take an api_version parameter, so I decided class based views would be best. This way my classes could just inherit [...]

django-fixture-magic: Testing issues with real data.

by Dave Dash 05Mar10

I just released Fixture Magic.

When dealing with legacy data, you’ll run into all kinds of edge cases. Perhaps, an object might not display correctly unless it has the right parameters, or if it has null parameters it might not display at all. So when testing Django, it’s nice to actually use non-dummy data. [...]


Where am I?

Archive for Dave Dash.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  

need more help

If you found our tutorials and articles to be useful, but are still looking for more hands on help, consider hiring us. Find out more about how Spindrop can help you.