1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #2632: Change representation of null values from 0 to 'null'

This commit is contained in:
Jeremy Stretch
2018-12-04 15:09:07 -05:00
parent a3ade01224
commit dffa2d3556
2 changed files with 3 additions and 1 deletions

View File

@@ -247,7 +247,7 @@ SECRETS_MIN_PUBKEY_SIZE = 2048
# Django filters
FILTERS_NULL_CHOICE_LABEL = 'None'
FILTERS_NULL_CHOICE_VALUE = '0' # Must be a string
FILTERS_NULL_CHOICE_VALUE = 'null'
# Django REST framework (API)
REST_FRAMEWORK_VERSION = VERSION[0:3] # Use major.minor as API version