Add additional settings required for Django 1.4

As discussed in #185