Skip to content

Move LDAPSettings class to a different module #286

@stevecj

Description

@stevecj

I noticed when I was trying to monkey-patch LDAPSettings that I could not do so because that class is in the backend module which imports model classes. The patch needs to be applied before Django is initialized, and models can only be imported after Django has been initialized.

If this was the only reason for moving the class to a separate module, then I'm not sure it would be worth doing, but it also just feels like it belongs in a different module. I think it does not use any of the imports, for instance.

Possibly just move it to the config module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy