Issue #16 new

Django 1.5 compliant

Anonymous created an issue

Hi,

with the version 1.5 the setting AUTH_PROFILE_MODULE is deprecated

https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-AUTH_PROFILE_MODULE

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

Regards

Comments (1)

  1. Log in to comment