Skip to main content shell+ <- shell with models auto-imported

Project description


A management command to start a shell, and auto-import all models, and the datetime module.


$ shell+


$ ./ shell+

Also included: a command to update permissions.

$ update_permissions


$ pip install django-shell-plus

And then add `shell_plus` to your `settings.INSTALLED_APPS`.


Make update_permissions use new app-loading API.


Use the new (!) app-loading from django. Remove code that uses deprecated APIs.


Import `cache` from `django.core.cache`, and `reverse`,`resolve` from `django.core.urlresolvers`, because I often fire up a shell, just to do this to check something.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-shell-plus-1.1.7.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page