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

Remove obsolete staticfiles check #1894

Merged
merged 1 commit into from Mar 11, 2024

Conversation

living180
Copy link
Contributor

Description

The toolbar had a check for misconfigured static files directories. However, Django 4.0 added its own check for this situation. Since the toolbar's minimum supported Django version is now 4.2, the toolbar's check is made redundant by Django's check and can thus be removed.

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

Copy link
Contributor

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you!

@tim-schilling
Copy link
Contributor

The toolbar had a check for misconfigured static files directories.
However, Django 4.0 added its own check for this situation.  Since the
toolbar's minimum supported Django version is now 4.2, the toolbar's
check is made redundant by Django's check and can thus be removed.
@living180
Copy link
Contributor Author

The relevant check in Django is staticfiles.W004

Should I add that information to the changelog entry?

@tim-schilling
Copy link
Contributor

No, I was just adding it here for future reference. I should have noted that in my message, sorry!

@tim-schilling tim-schilling merged commit cc48a14 into jazzband:main Mar 11, 2024
25 checks passed
@living180
Copy link
Contributor Author

No worries, thanks!

@living180 living180 deleted the staticfiles_check branch March 11, 2024 13:28
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

Successfully merging this pull request may close these issues.

None yet

2 participants