The question: Is it possible to add a custom Django application to the AWX web application ?
Theoretically this should be the case since the AWX web application also is a Django application. If I am not mistaken of course. Usually it’s just a matter of settings things in settings.py and urls.py.
The main reasons being performance and implementation simplicity; compared to a separate remote web application that is.
It's certainly possible, but not officially supported.
Essentially you would just need to make sure your Django application
gets pip installed into the web container, and then modify the
settings.py INSTALLED_APPS such that the application is enabled.
Install my package into the virtual environment /var/lib/awx/venv/awx.
Append INSTALLED_APPS = [“myapp”] + INSTALLED_APPS to /etc/tower/settings.py.
The container seems to start properly. Only thing left now is a url pattern pointing to myapp. And kick off the migrations. Etc…
However, this is looking like hacking my way into the application. So I think it’s better not to consider this any longer and deal with a remote Django application instead over http/rest.