Django application for running python code in your project's environment from django admin.
pip install django-python-interpreter
settings.py:
INSTALLED_APPS = (
...
'webshell',
...
)
urls.py:
urlpatterns = patterns('',
...
(r'^admin/webshell/', include('webshell.urls')),
...
)