Merge branch 'tex-upload'
This commit is contained in:
		
						commit
						e100625d61
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -728,6 +728,8 @@ def texUploadView(request): | |||
|                 problem.body = meta["body"] | ||||
| 
 | ||||
|             problem.save() | ||||
|             cislo.faze = cislo.FAZE_NAHRANO | ||||
|             cislo.save() | ||||
| 
 | ||||
|             # Vrátíme id dané úlohy, aby se k ní dala případně připojit pohádka | ||||
|             return JsonResponse({"db_id": problem.id}) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián