As of Django 1.4, the startproject command creates a wsgi file that the
runserver command will use.
If you have an older Django project that does not have a wsgi file, you can create one as described in the Django docs, and set
WSGI_APPLICATION in your
You should be able to set up new relic by modifying this wsgi file as described by the New Relic docs for Python agent integration.