瀏覽代碼

Fixes #14349: Fix custom validation support for DataSource

Jeremy Stretch 2 年之前
父節點
當前提交
080da68b6a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      netbox/core/models/data.py

+ 1 - 0
netbox/core/models/data.py

@@ -122,6 +122,7 @@ class DataSource(JobsMixin, PrimaryModel):
         )
 
     def clean(self):
+        super().clean()
 
         # Ensure URL scheme matches selected type
         if self.type == DataSourceTypeChoices.LOCAL and self.url_scheme not in ('file', ''):