Issue #4 invalid
Anonymous created an issue

If you are using settings.AUTH_PROFILE_MODULE with

app_label.model_name everything works fine, but if you are using

namespace.app_label.model_name it will fail.

profile_mod = get_model(*settings.AUTH_PROFILE_MODULE.split('.'))

will fail, maybe you slice the

profile_mod = get_model(*settings.AUTH_PROFILE_MODULE.split('.')[-2:])

Comments (1)

  1. James Bennett repo owner

    If you aren't using an app_label/model_name string for AUTH_PROFILE_MODULE, things built in to Django will fail as well. Solution is to use AUTH_PROFILE_MODULE the way Django tells you to.

  2. Log in to comment