fix import SiteProfileNotAvailable error for django 1.7