Browse Source

Fix mamweb/migr/0001

middleware_test
Pavel Turinský 4 years ago
parent
commit
a80f0c2d34
  1. 2
      mamweb/migrations/0001_initial.py

2
mamweb/migrations/0001_initial.py

@ -8,7 +8,7 @@ from shutil import copytree
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):

Loading…
Cancel
Save