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

Closes #6711: Add longtext custom field type with Markdown support

This commit is contained in:
jeremystretch
2021-10-14 14:48:00 -04:00
parent 3e7922e41e
commit 176bd2396b
7 changed files with 101 additions and 19 deletions

View File

@@ -17,6 +17,9 @@ class CustomFieldModelFormTest(TestCase):
cf_text = CustomField.objects.create(name='text', type=CustomFieldTypeChoices.TYPE_TEXT)
cf_text.content_types.set([obj_type])
cf_longtext = CustomField.objects.create(name='longtext', type=CustomFieldTypeChoices.TYPE_LONGTEXT)
cf_longtext.content_types.set([obj_type])
cf_integer = CustomField.objects.create(name='integer', type=CustomFieldTypeChoices.TYPE_INTEGER)
cf_integer.content_types.set([obj_type])