testdata: změna na menší počet ročníků a více řešení -> více řešení od jednoho řešitele
This commit is contained in:
		
							parent
							
								
									7332466a31
								
							
						
					
					
						commit
						f7e9b00613
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -38,7 +38,8 @@ class Command(BaseCommand): | |||
| 		if not options['no_migrate']: | ||||
| 			call_command('migrate', no_input=True) | ||||
| 		self.stdout.write('Vytvarim uzivatele "admin" (heslo "admin") a pseudo-nahodna data ...') | ||||
| 		create_test_data(size=8) | ||||
| 		create_test_data(size=5) | ||||
| 		# menší počet ročníků, aby se zrychlilo generování dat a bylo dost úloh | ||||
| 		self.stdout.write('Vytvoreno {} uzivatelu, {} skol, {} resitelu, {} rocniku, {} cisel,'  | ||||
| 			   ' {} problemu, {} reseni.'.format(User.objects.count(), Skola.objects.count(),  | ||||
| 					Resitel.objects.count(), Rocnik.objects.count(), Cislo.objects.count(),  | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Anet
						Anet