Browse Source

Fixes #14349: Fix custom validation support for DataSource

Jeremy Stretch 2 years ago
parent
commit
080da68b6a
1 changed files with 1 additions and 0 deletions
  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):
     def clean(self):
+        super().clean()
 
 
         # Ensure URL scheme matches selected type
         # Ensure URL scheme matches selected type
         if self.type == DataSourceTypeChoices.LOCAL and self.url_scheme not in ('file', ''):
         if self.type == DataSourceTypeChoices.LOCAL and self.url_scheme not in ('file', ''):