1. James Bennett
  2. django-profiles
  3. Issues
Issue #16 resolved

Django 1.5 compliant

Anonymous created an issue


with the version 1.5 the setting AUTH_PROFILE_MODULE is deprecated


Do you plan to use AUTH_USER_MODEL instead ?

and thus https://bitbucket.org/ubernostrum/django-profiles/src/c21962558420/profiles/utils.py?at=default#cl-22 would become :

    if (not hasattr(settings, 'AUTH_USER_MODEL')) or \
           (not settings.AUTH_USER_MODEL):
        raise SiteProfileNotAvailable
    profile_mod = get_model(*settings.AUTH_USER_MODEL.split('.'))
    if profile_mod is None:
        raise SiteProfileNotAvailable


Comments (2)

  1. Log in to comment