Django-plop is a middleware for profiling your views with PLOP, the Python Low Overhead Profiler.
Warning: This doesn't currently work - Plop uses signaling in a way that is incompatible with Django. But I found that information out after I had implemented that, so I'm letting this sit.
In your project settings:
MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ('django-plop.middleware.PlopMiddleware',)
PLOP_DIR = os.path.join(PROJECT_ROOT, 'plop') # will be created, defaults to /tmp/plop
PLOP itself is used in production by Dropbox with 2% CPU overhead (or so). However, this middleware will write logs to the disk, which may not be acceptable for your use case (especially on Heroku et. al.)