Ver Fonte

Fix dumpdata ordering for VRFs

jeremystretch há 4 anos atrás
pai
commit
5526f8e3dc
1 ficheiros alterados com 2 adições e 1 exclusões
  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',