CustomField.filter_logic to slug

This commit is contained in:
Jeremy Stretch
2019-12-04 21:09:02 -05:00
parent 3ff22bea56
commit bfea77baa5
7 changed files with 61 additions and 23 deletions

View File

@@ -19,16 +19,6 @@ CUSTOMFIELD_MODELS = [
'virtualization.virtualmachine',
]
# Custom field filter logic choices
CF_FILTER_DISABLED = 0
CF_FILTER_LOOSE = 1
CF_FILTER_EXACT = 2
CF_FILTER_CHOICES = (
(CF_FILTER_DISABLED, 'Disabled'),
(CF_FILTER_LOOSE, 'Loose'),
(CF_FILTER_EXACT, 'Exact'),
)
# Custom links
CUSTOMLINK_MODELS = [
'circuits.circuit',