Browse Source

need to set static_list

Roberto Berto 5 năm trước cách đây
mục cha
commit
8b5a888d81
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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,