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 system checks for correct installation #294

Open
adamchainz opened this issue Oct 11, 2024 · 0 comments
Open

Add system checks for correct installation #294

adamchainz opened this issue Oct 11, 2024 · 0 comments

Comments

@adamchainz
Copy link
Owner

I think we could prevent such errors recurring in the future by adding a system check that ensures:

  1. staticfiles is installed
  2. AppDirectoriesFinder is in STATICFILES_FINDERS
  3. The middleware is installed

Django’s contrib apps do similar, for example admin checks for its dependencies:
https://github.com/django/django/blob/184d82d8488b1b31ade5b5a68b0040f1c267f2be/django/contrib/admin/checks.py#L56

Originally posted by @adamchainz in #231 (comment)

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