wiki:uWSGIDjangoApp

Using the uwsgi_admin Django app

In the django directory of the distribution you will find the uwsgi_admin app.

You need to enable the django admin app to use it.

Copy the uwsgi_admin app in your django project directory and add it to the INSTALLED_APPS in settings.py

Ex.

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'mysite.polls',
    'mysite.uwsgi_admin'
)

Now modify the main urls.py for adding a url for uwsgi_admin:

(r'^admin/uwsgi/', include('mysite.uwsgi_admin.urls')),

Go to /admin/uwsgi and will see the statistics of your uWSGI server and a button to gracefully reload it (only if master process is enabled).

Memory usage is reported only if uWSGI is spawned with the -m option