mirror of
https://github.com/django/django.git
synced 2025-01-12 19:37:06 +00:00
Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt.
This commit is contained in:
parent
f3bada9889
commit
c362228556
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user