From c362228556bedb4a8a3cdaf91b9e456e459ecda1 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 26 Jul 2017 16:34:10 +0300 Subject: [PATCH] Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt. --- docs/howto/writing-migrations.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/writing-migrations.txt b/docs/howto/writing-migrations.txt index 8d5761485f..4596f64eb6 100644 --- a/docs/howto/writing-migrations.txt +++ b/docs/howto/writing-migrations.txt @@ -22,7 +22,7 @@ attribute:: from django.db import migrations def forwards(apps, schema_editor): - if not schema_editor.connection.alias == 'default': + if schema_editor.connection.alias != 'default': return # Your migration code goes here