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

Initial work on reimplementing custom fields

This commit is contained in:
Jeremy Stretch
2020-08-21 15:16:33 -04:00
parent ec66e1a5c0
commit 879166d939
8 changed files with 217 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ from extras.utils import FeatureQuery
#
class CustomFieldModel(models.Model):
custom_field_data = models.JSONField(
blank=True,
default=dict
)
class Meta:
abstract = True