Django 1.6 admin compatibility fix. Refs #37.

Fixes #37.

For more info, see [Django ticket #19469](https://code.djangoproject.com/ticket/19469)

Thanks @morthylla for helpfull comment in #37.