Fix
This commit is contained in:
		
							parent
							
								
									4a4ac62dce
								
							
						
					
					
						commit
						f255d1512d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -57,8 +57,8 @@ def spoj_k_organizatorum_osoby(apps, scema_editor): | |||
| 				osoba.jmeno = user.first_name | ||||
| 				osoba.prijmeni = user.last_name | ||||
| 				osoba.email = user.email | ||||
| 				user.jmeno += " (Uživatel!)" | ||||
| 				user.prijmeni += " (Uživatel!)" | ||||
| 				user.first_name += " (Uživatel!)" | ||||
| 				user.last_name += " (Uživatel!)" | ||||
| 				osoba.datum_registrace = min(osoba.datum_registrace, user.date_joined, key=lambda d: d if d is not None else date.max) | ||||
| 				user.save() | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky