Przeglądaj źródła

need to set static_list

Roberto Berto 5 lat temu
rodzic
commit
8b5a888d81
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      vycenter/static/views.py

+ 2 - 1
vycenter/static/views.py

@@ -16,7 +16,8 @@ def index(request):
     all_instances = vyos.instance_getall()
     hostname_default = vyos.get_hostname_prefered(request)
     #static_list = vyos.get_route_static(hostname_default)
-
+    static_list = None
+    
     template = loader.get_template('static/list.html')
     context = { 
         'instances': all_instances,