Skip to main content

django-admin.py shell+ <- shell with models auto-imported

Project description

django-shell+
=================

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

Usage::

$ django-admin.py shell+


or::

$ ./manage.py shell+

Also included: a command to update permissions.

$ django-admin.py update_permissions

Installation::

$ pip install django-shell-plus

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

Changelog
---------

1.1.7
~~~~~
Make update_permissions use new app-loading API.

1.1.6
~~~~

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

1.1.5
~~~~~

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