You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often debug a single endpoint with a unique request pattern. To be able to only see that in the console I have to blacklist all other request patterns that my application may produce during debugging. That can be quite annoying. It would be helpful to have a separate whitelist setting like INCLUDE_REQUEST_PATTERNS where I just state what I want to be printed to the console and everything else is silenced. Of course the User would have to decide whether to blacklist or whitelist, as using both does not make much sense.
I can do a PR if you want, let me know if it's something worth putting time into.
The text was updated successfully, but these errors were encountered:
@bradmontgomery I tried writing a test for IGNORE_REQUEST_PATTERNS to extend it for a whitelist feature, but I'm a little stuck there. How would I actually run your tests without having a manage.py or an actual django project?
I often debug a single endpoint with a unique request pattern. To be able to only see that in the console I have to blacklist all other request patterns that my application may produce during debugging. That can be quite annoying. It would be helpful to have a separate whitelist setting like
INCLUDE_REQUEST_PATTERNS
where I just state what I want to be printed to the console and everything else is silenced. Of course the User would have to decide whether to blacklist or whitelist, as using both does not make much sense.I can do a PR if you want, let me know if it's something worth putting time into.
The text was updated successfully, but these errors were encountered: