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

Activating plugins #43

Open
andybak opened this issue Nov 16, 2016 · 0 comments
Open

Activating plugins #43

andybak opened this issue Nov 16, 2016 · 0 comments

Comments

@andybak
Copy link

andybak commented Nov 16, 2016

As far as I can tell the only way to activate any of the included plugins is:

  1. Change 'active' to True in the plugin's source
  2. Import it in the init py file

Is this correct? I propose the following:

  1. Move the active flag for plugins into a settings file that can be overridden in the project's settings. The default settings should match the currently enabled plugins.
  2. Automatically import all plugins in the directory.

This would allow projects to choose which plugins they should use. It would also allow external plugins without editing the source of django-test-utils. I don't mind submitting a PR but thought I'd run the general approach past people first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant