Skip to content

Conversation

tim-schilling
Copy link
Member

Description

Only when the user is customizing both the show toolbar callback setting and the URLs aren't installed will the underlying NoReverseMatch error occur.

Fixes #1920

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.
Only when the user is customizing both the show toolbar callback setting and the URLs aren't installed will the underlying NoReverseMatch error occur.
@tim-schilling
Copy link
Member Author

@matthiask I'm pretty confident the advanced installation is only necessary if the show toolbar callback isn't making use of settings.DEBUG.

Copy link
Member

@matthiask matthiask left a comment

Choose a reason for hiding this comment

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

Interesting. The explanation of DEBUG vs settings.DEBUG makes a lot of sense to me. Code looks good!

@tim-schilling tim-schilling merged commit 2d9c6a7 into django-commons:main Jul 3, 2024
@tim-schilling tim-schilling deleted the improve-e001 branch July 3, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants