Forráskód Böngészése

Fixes #14349: Fix custom validation support for DataSource

Jeremy Stretch 2 éve
szülő
commit
080da68b6a
1 módosított fájl, 1 hozzáadás és 0 törlés
  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', ''):