Add support for Django 1.7 (ref #7).