S*** mělo to být takhle…
This commit is contained in:
		
							parent
							
								
									2b1691cbe1
								
							
						
					
					
						commit
						fc35605ef6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -140,7 +140,7 @@ def gen_resitele(rnd, osoby, skoly): | ||||||
| 				x += 1 | 				x += 1 | ||||||
| 				os.user = user | 				os.user = user | ||||||
| 				os.save() | 				os.save() | ||||||
| 			os.user.user_permissions.add(resitel_perm) | 				os.user.user_permissions.add(resitel_perm) | ||||||
| 			resitele.append(Resitel.objects.create(osoba=os, skola=rnd.choice(skoly), | 			resitele.append(Resitel.objects.create(osoba=os, skola=rnd.choice(skoly), | ||||||
| 				rok_maturity=rnd.randint(2019, 2029), | 				rok_maturity=rnd.randint(2019, 2029), | ||||||
| 				zasilat=rnd.choice(Resitel.ZASILAT_CHOICES)[0])) | 				zasilat=rnd.choice(Resitel.ZASILAT_CHOICES)[0])) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jonas Havelka
						Jonas Havelka