Fix mamweb/migr/0001

This commit is contained in:
Pavel Turinský 2020-10-13 21:24:05 +02:00
parent feb2e29245
commit a80f0c2d34

View file

@ -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):