Author Archives: Danielle

About Danielle

Danielle is an Australian software engineer, computer scientist and feminist. She doesn't really work on GNOME any more (sadly). Opinions and writing are solely her own and so not represent her employer, the GNOME Foundation, or anyone else but herself.

Running Django on Docker: a workflow and code

It has been an extremely long time between beers (10 months!). I’ve gotten out of the habit of blogging and somehow I never blogged about the talk I co-presented at PyCon AU this year on Pallet and Forklift the standard … Continue reading

Posted in Uncategorized | Leave a comment

lazy-loading class-based-views in Django

So one of the nice things with method-based views in Django is the ability to do this sort of thing to load a view at the path frontend.views.home: urlpatterns = patterns( ‘frontend.views’, url(r’^$’, ‘home’, name=’home’), ) Unfortunately, if you’re using … Continue reading

Posted in Uncategorized | Comments Off

A libnss plugin for Docker

So we’ve been starting to use Docker at Infoxchange. A little while ago my Infoxchange colleague Ricky Cook wrote a Twisted service to resolve Docker container names into their private IP addresses. I thought this was a pretty neat idea, … Continue reading

Posted in Uncategorized | Comments Off

Django utility methods (including New Relic deployment notification)

So we’ve moved to Github here at Infoxchange as our primary development platform because pull requests and Travis CI are much nicer than yelling across the room at each other1. To enable Travis to build our code, we’ve needed to … Continue reading

Posted in django | Comments Off

Writing your first web app using Python and Flask

I presented a tutorial at a couple of weeks ago on what there was for Python developers between CGI scripts and Django. That developers needn’t still be writing CGI scripts in 2014 (it happens) and there were frameworks that … Continue reading

Posted in Uncategorized | 2 Comments

More than a side salad: behaviour driven testing and test driven design in Django with Lettuce

Been quiet lately because I am super busy getting a project out of the door. However I did find time to give this talk last night on behaviour driven testing with Lettuce at MelbDjango. More than a side salad: behaviour … Continue reading

Posted in best practice, django, python | 3 Comments

Testing sites with beforeunload and Lettuce/Cucumber

I recently added a beforeunload event handler to a site I’m working on, which instantly caused a regression of the entire Lettuce test suite before they got stuck on a “Leave this page?” dialog. We reuse the same Selenium browser … Continue reading

Posted in Uncategorized | Comments Off

vim + pathogen + git submodules

As part of PyCon Au this weekend I did a lot of hacking on my laptop, which is not something I’ve done for a while, given how much I used to hack on my laptop. I was frequently getting annoyed … Continue reading

Posted in Uncategorized | 3 Comments

free as in gorgeous

I’m at PyCon Au.1 I made it this year. There were no unexpected collisions in the week leading up to it. I decided at the last moment to do a lightning talk on a piece of Django-tech I put together … Continue reading

Posted in Uncategorized | Comments Off

calling Melbourne Python and Perl programmers

For the last couple of months I’ve been working for Infoxchange, a not-for-profit that provides technology to other not for profit. I’ve been working in the webapp development team, where we mostly work on webapps in the health and community … Continue reading

Posted in Uncategorized | Comments Off