Django 1.6 admin compatibility fix. Refs #37.