Skip to content

Commit

Permalink
Fixes netbox-community#484: Allow bulk deletion of >1K objects
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Aug 18, 2016
1 parent d575582 commit c990f78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netbox/netbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
os.path.join(BASE_DIR, "project-static"),
)

# Disable default limit of 1000 fields per request. Needed for bulk deletion of objects. (Added in Django 1.10.)
DATA_UPLOAD_MAX_NUMBER_FIELDS = None

# Messages
MESSAGE_TAGS = {
messages.ERROR: 'danger',
Expand Down

0 comments on commit c990f78

Please sign in to comment.