Compatibility fix for django > 1.4 importing django constant LOOKUP_SEP

LOOKUP_SEP settings has been moved in "django.db.models.constants" from django 1.5