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.

Source Distribution

django-shell-plus-1.1.7.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-shell-plus-1.1.7.tar.gz.

File metadata

File hashes

Hashes for django-shell-plus-1.1.7.tar.gz
Algorithm Hash digest
SHA256 fcad4b3b97ee66d3fb61dc020711d53acf71db637b3e40970e9c7b23949e2b50
MD5 bdedfbc336bf396e30d7591b80e92b98
BLAKE2b-256 54ee0c1da6ed7fc3fa59edd15729651d158acec48c3e615ff4bd0ef17101e91a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page