Skip to content

Commit

Permalink
fix nplusone whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
gedankenstuecke committed Aug 8, 2023
1 parent 7434119 commit bb00c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/settings/environments/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def _custom_show_toolbar(request):
NPLUSONE_LOG_LEVEL = logging.WARN
NPLUSONE_WHITELIST = [
{'model': 'admin.*'},
{'label': 'n_plus_one', 'model': 'users.UserProfile'}
]


Expand Down

0 comments on commit bb00c69

Please sign in to comment.