Django 1.5 compatibility fix

LOOKUP_SEP constant has been moved to another module in django 1.5