diff --git a/adm/templates/adm/adm_import_flow.html b/adm/templates/adm/adm_import_flow.html index 5937d04..2c04d4e 100644 --- a/adm/templates/adm/adm_import_flow.html +++ b/adm/templates/adm/adm_import_flow.html @@ -29,11 +29,10 @@ $(document).ready(function(){ // FIRST CALL GROUPS, When Groups finished User will call by Groups //createAgencyGroups(groupids[0]); - console.log("{{check_files}}"); //DEV //rebuildingStandards(standards[0]); //addGroupFolder(); - //addDirs(dirids[0]); + addDirs(dirids[0]); }) var groupcounter = 0; diff --git a/adm/views.py b/adm/views.py index 9b16a70..fb20075 100644 --- a/adm/views.py +++ b/adm/views.py @@ -695,15 +695,11 @@ class AdmImportFlow(TemplateView): # DataFiles normal_files = [] - check_files = [] + for f in DataFile.objects.filter(agency=agency): if(f.parent.name != "Standards Uploadbereich"): normal_files.append(f) - else: - check_files.append(f) - context.update({'check_files' : check_files}) - context.update({'files' : normal_files}) # DataDirs