Adds Django 1.4 compatibility and prevents deletion.

Code changes from Chris Church: https://github.com/ninemoreminutes/django-singletons/commit/9b231666b9027d3bd1159f3db8bce34701193bdd