Skip to main content

DjangoDevKit package

Project description

DjangoDevKit

Meta package for Django developers.

Installation:

$ easy_install -U DjangoDevKit

Contain (as dependencies):

This package also install some console scripts:

  • django-admin: work like ./django-admin.py.

  • django-manage: work like ./manage.py but add django-extensions to INSTALLED_APPS on the fly.

  • django-shell: work like ./manage.py shell but use the django-extensions shell_plus

  • django-migrate: work like ./manage.py syncdb --nointput && ./manage.py migrate --noinput Run migrate only if south is installed.

  • django-test: work like ./manage.py test. Also set DEBUG_PROPAGATE_EXCEPTIONS to True so WebTest show the full traceback in tests output.

  • django-serve: wrap the Django application in a backlash middleware and serve it. It’s also serve /media/ directories found in installed apps. You can also use -t to add the django-debug-toolbar to INSTALLED_APPS and MIDDLEWARE_CLASSES on the fly. You can also use request and post to test a single request:

    $ django-serve request /path

You can also use some aliases. Create a ~/.djangodevkitrc like this:

[aliases]
m =
    syncdb --noinput
    migrate --noinput
si =
    schemamigration --initial []
sm =
    schemamigration --auto []

[] is replace with command line arguments. This mean that:

$ django-manage sm myapp

is equal to:

$ ./manage.py schemamigration --auto myapp

Notices that aliases are not listed in django-manage’s help

News

1.0.8 (2020-01-20)

  • Django 2.2 compat

1.0.7 (2016-09-02)

  • Fixed #3

1.0.6 (2015-04-23)

  • Use backlash instead of weberror

  • Remove Paste dependencies

  • py3 compat

1.0.5 (2015-04-09)

  • Listen on 0.0.0.0

1.0.4 (2014-10-06)

  • Fix Django 1.7 compat

1.0.3 (2014-01-24)

  • Fix #5

1.0.2 (2014-01-21)

  • Rewrite MediaApp

  • Django 1.6 compat

1.0.1 (2014-01-15)

Take care if DJANGO_SETTINGS_MODULE is already set

1.0

Make it work with django 1.4+ and virtualenv

Add aliases machinery

0.8.3

Windows bug fix

0.8.1

Add all eggs to pkg_resources.working_set

0.8

No longer use twod.wsgi

0.6

Small fixe to work with twod.wsgi

0.2

Add MediaApp to serve media directories

0.1

Initial public release.

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

DjangoDevKit-1.0.8.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

DjangoDevKit-1.0.8-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file DjangoDevKit-1.0.8.tar.gz.

File metadata

  • Download URL: DjangoDevKit-1.0.8.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for DjangoDevKit-1.0.8.tar.gz
Algorithm Hash digest
SHA256 965b5503d6b25d733597da9f3928a4365b1d86ca047aeb13904b46684080e0de
MD5 5f3dc95913f778aabac585fadc69b084
BLAKE2b-256 59815430580a3b22c826758d2fd5b7a22e4067200f0014f087a34f9d504d70d7

See more details on using hashes here.

File details

Details for the file DjangoDevKit-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: DjangoDevKit-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for DjangoDevKit-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a4213254f61ff45e7a5150df8fc960e3e101ee83a6c0142dbda2406341aec4e0
MD5 f459975bae4d0f7f1ef25a1552a8a45c
BLAKE2b-256 094cfa77aeef6dfc14a5b3c796c889790da0248ad3b96f5e569fc8518ee321c5

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