Commits

Marko Mrdjenovic committed 288d4cf

translation errors only needed before 0024

  • Participants
  • Parent commits 3a0f05b

Comments (0)

Files changed (1)

File delajozate/dz/data_check.py

 	
 
 def _check_translation():
+	# these only make sense before you migrate to 0024
 	errors = []
 	funkcije = Funkcija.objects.all().order_by("od", "do", "oseba__id")
 	pozicija_dz = Pozicija.objects.filter(organizacija__drzavnizbor__gt=0)
 	glas_errors = _check_glas()
 	clanstranke_errors = _check_clanstranke()
 	
-	translation_errors = _check_translation()
+	#translation_errors = _check_translation()
 	
 	t2 = time.time()
 	
 		'glasovanje_errors': glasovanje_errors,
 		'glas_errors': glas_errors,
 		'clanstranke_errors': clanstranke_errors,
-		'translation_errors': translation_errors,
+		#'translation_errors': translation_errors,
 		'took': t2-t1,
 	}
 	return render(request, "data_check.html", context)