Issue with Django 1.5 and "LOOKUP_SEP"

That thing has changed locations. Updating to new location, with fallback for previous versions of Django.