Django 1.5 compatibility: from django.db.models.constants import LOOKUP_SEP