Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt.

This commit is contained in:
Berker Peksag 2017-07-26 16:34:10 +03:00 committed by Tim Graham
parent f3bada9889
commit c362228556
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ attribute::
from django.db import migrations from django.db import migrations
def forwards(apps, schema_editor): def forwards(apps, schema_editor):
if not schema_editor.connection.alias == 'default': if schema_editor.connection.alias != 'default':
return return
# Your migration code goes here # Your migration code goes here