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.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.
=================
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.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
File details
Details for the file django-shell-plus-1.1.6.tar.gz
.
File metadata
- Download URL: django-shell-plus-1.1.6.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a948fe1431c29b585aefa6e951cd319e15013486b9e1a76d71f700ef8a0941 |
|
MD5 | e92b12a51219fafdb09ebdc754a71eba |
|
BLAKE2b-256 | 576cf06714cb67b05c2010ba2d718cc6da3ea5d3eec8ec5d5d630b926bb30b01 |