Kaydet (Commit) c3622285 authored tarafından Berker Peksag's avatar Berker Peksag Kaydeden (comit) Tim Graham

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

üst f3bada98
...@@ -22,7 +22,7 @@ attribute:: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment