Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file.

This commit is contained in:
Benjy Weinberger 2019-03-28 13:47:05 -07:00 committed by Mariusz Felisiak
parent 5d9cf79baf
commit 3cd3bebe89
4 changed files with 32 additions and 7 deletions

View file

@ -0,0 +1,15 @@
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
operations = [
migrations.CreateModel(
"Author",
[
("id", models.AutoField(primary_key=True)),
("name", models.CharField(max_length=255)),
],
),
]