Jelajahi Sumber

Fix dumpdata ordering for VRFs

jeremystretch 3 tahun lalu
induk
melakukan
5526f8e3dc
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      netbox/ipam/models/__init__.py

+ 2 - 1
netbox/ipam/models/__init__.py

@@ -1,8 +1,9 @@
+# Ensure that VRFs are imported before IPs/prefixes so dumpdata & loaddata work correctly
 from .fhrp import *
+from .vrfs import *
 from .ip import *
 from .services import *
 from .vlans import *
-from .vrfs import *
 
 __all__ = (
     'ASN',