Fixed #338 - updated to Django 1.6.