Răsfoiți Sursa

Fixes #14349: Fix custom validation support for DataSource

Jeremy Stretch 2 ani în urmă
părinte
comite
080da68b6a
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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', ''):