diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2017-07-26 16:34:10 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-07-26 09:34:10 -0400 |
| commit | c362228556bedb4a8a3cdaf91b9e456e459ecda1 (patch) | |
| tree | bef9eeb54d651c328efe3ffd9bf8704bb5188a89 /docs | |
| parent | f3bada9889da23ae99a86ce268122b7c9ad9f1eb (diff) | |
Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/writing-migrations.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
