Skip to content

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
Member

@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!

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
Member

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 django-commons:main Mar 11, 2024
@living180
Copy link
Contributor Author

No worries, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants