mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-25 02:03:37 -05:00
Exporting YAML on dev envs with honcho and in production environments would timeout. This was due to daphne handling the export request in dev but not in production. This fixes network_ui to use uwsgi instead of daphne to handle the request.
11 lines
312 B
Python
11 lines
312 B
Python
# Copyright (c) 2017 Red Hat, Inc
|
|
from django.conf.urls import url
|
|
|
|
from awx.network_ui import views
|
|
|
|
app_name = 'network_ui'
|
|
urlpatterns = [
|
|
url(r'^topology.json/?$', views.json_topology_data, name='json_topology_data'),
|
|
url(r'^topology.yaml/?$', views.yaml_topology_data, name='yaml_topology_data'),
|
|
]
|