Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add integration with django-autocomplete-light #74

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Apr 28, 2023

  1. add integration with django-autocomplete-light with UserSuDalForm

    adds UserSuDalForm form class which leverages the autocomplete
    facilities provided by django-autocomplete-light.
    It expects:
      * 'django-light-autocomplete' to be installed
      * 'dal' to be present into INSTALLED_APPS
      * 'SU_DAL_VIEW_NAME' setting to contain the name of the autocomplete view
    
    If 'SU_DAL_VIEW_NAME' setting key is present and form_class is default su_login view tries to
    automatically use UserSuDalForm, avoiding the end user to customize
    django_su's urls.
    
    Required configuration is added into README
    MRoci committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    c86a30b View commit details
    Browse the repository at this point in the history