mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Add peers_from for reverse peers M2M
use devel receptor-collection
This commit is contained in:
parent
6c3bbfc3be
commit
d15405eafe
@ -1,4 +1,5 @@
|
||||
---
|
||||
collections:
|
||||
- name: ansible.receptor
|
||||
version: 1.1.0
|
||||
- name: https://github.com/ansible/receptor-collection.git
|
||||
type: git
|
||||
version: main
|
||||
|
||||
@ -27,6 +27,11 @@ class Migration(migrations.Migration):
|
||||
name='peers_from_control_nodes',
|
||||
field=models.BooleanField(default=False, help_text='If True, control plane cluster nodes should automatically peer to it.'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='instance',
|
||||
name='peers',
|
||||
field=models.ManyToManyField(related_name='peers_from', through='main.InstanceLink', to='main.instance'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='instancelink',
|
||||
name='link_state',
|
||||
|
||||
@ -82,7 +82,6 @@ STATICFILES_DIRS = [
|
||||
os.path.join(BASE_DIR, 'ui_next', 'build'),
|
||||
os.path.join(BASE_DIR, 'static'),
|
||||
]
|
||||
/awx_devel/awx/ui_next/build
|
||||
|
||||
# Absolute filesystem path to the directory where static file are collected via
|
||||
# the collectstatic command.
|
||||
@ -305,7 +304,7 @@ TEMPLATES = [
|
||||
os.path.join(BASE_DIR, 'templates'),
|
||||
os.path.join(BASE_DIR, 'ui', 'build'),
|
||||
os.path.join(BASE_DIR, 'ui', 'public'),
|
||||
os.path.join(BASE_DIR, '/awx/ui_next', 'build', 'awx'),
|
||||
os.path.join(BASE_DIR, 'ui_next', 'build', 'awx'),
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user