Davit Tovmasyan
The commented out lines in this code really shouldn't be commented out.
Also operations should contain migrations.SeparateDatabaseAndState, and state_operations within it, not the other way around.
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
state_operations = [
]
Renato E. Alegre
Your first code is incorrect, please correct, it's very misleading.