mirror of
https://github.com/django/django.git
synced 2025-04-15 12:54:38 +00:00
[1.11.x] Replaced "not A== B" with "A != B" in docs/howto/writing-migrations.txt.
Backport of c362228556bedb4a8a3cdaf91b9e456e459ecda1 from master
This commit is contained in:
parent
7386029249
commit
6e6aa77b3b
@ -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…
x
Reference in New Issue
Block a user