Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

changed list filter threshold to 25

  • Loading branch information...
commit 4edaad197b0b0f69ade52fe7b23d40da3524097e 1 parent 21ef5fc
Rick van Hattem authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  django_utils/management/commands/admin_autogen.py
2  django_utils/management/commands/admin_autogen.py
@@ -96,7 +96,7 @@ def handle_app(self, app, **options):
96 96 if related_count >= RAW_ID_THRESHOLD:
97 97 model_dict['raw_id_fields'].append(field.name)
98 98
99   - if related_count >= LIST_FILTER_TRESHOLD:
  99 + if related_count <= LIST_FILTER_TRESHOLD:
100 100 model_dict['list_filter'].append(field.name)
101 101 else:
102 102 model_dict['list_filter'].append(field.name)

0 comments on commit 4edaad1

Please sign in to comment.
Something went wrong with that request. Please try again.