mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Correct the comment in migration file
This commit is contained in:
parent
1fe18dc588
commit
f7502eed2f
@ -5,9 +5,8 @@ from django.db import migrations
|
||||
|
||||
|
||||
def add_webhook_notification_template_fields(apps, schema_editor):
|
||||
# loop over all existing webhook notification templates
|
||||
# and make sure they have the new "http_method", "username"
|
||||
# and "password" fields
|
||||
# loop over all existing webhook notification templates and make
|
||||
# sure they have the new "http_method" field filled in with "POST"
|
||||
NotificationTemplate = apps.get_model('main', 'notificationtemplate')
|
||||
webhooks = NotificationTemplate.objects.filter(notification_type='webhook')
|
||||
for w in webhooks:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user