Explorar el Código

Fix dumpdata ordering for VRFs

jeremystretch hace 3 años
padre
commit
5526f8e3dc
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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',