Fix mamweb/migr/0001
This commit is contained in:
		
							parent
							
								
									feb2e29245
								
							
						
					
					
						commit
						a80f0c2d34
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -8,7 +8,7 @@ from shutil import copytree | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def zkopiruj_fotky(apps, schema_editor): | def zkopiruj_fotky(apps, schema_editor): | ||||||
|     copytree("mamweb/static/images/header/", "media/header/", dirs_exist_ok=True) |     copytree("mamweb/static/images/header/", "media/header/") # FIXME: bylo tu dirs_exists_ok=True, nekompatibilní s Py 3.7 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class Migration(migrations.Migration): | class Migration(migrations.Migration): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Pavel Turinský
						Pavel Turinský