mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Create CachedValueField to contain search specific lookups
This commit is contained in:
committed by
Jeremy Stretch
parent
a61e7e7c04
commit
eed1b8f412
7
netbox/extras/fields.py
Normal file
7
netbox/extras/fields.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django.db.models import TextField
|
||||
|
||||
class CachedValueField(TextField):
|
||||
"""
|
||||
Currently a dummy field to prevent custom lookups being applied globally to TextField.
|
||||
"""
|
||||
pass
|
Reference in New Issue
Block a user