Fixes #484: Allow bulk deletion of >1K objects
This commit is contained in:
parent
96d6be3608
commit
de8fd550cb
|
|
@ -164,6 +164,9 @@ STATICFILES_DIRS = (
|
||||||
os.path.join(BASE_DIR, "project-static"),
|
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
|
# Messages
|
||||||
MESSAGE_TAGS = {
|
MESSAGE_TAGS = {
|
||||||
messages.ERROR: 'danger',
|
messages.ERROR: 'danger',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue