Skip to main content

Extensions for Django

Project description

https://img.shields.io/pypi/l/django-extensions.svg https://github.com/django-extensions/django-extensions/actions/workflows/compile_catalog.yml/badge.svg https://github.com/django-extensions/django-extensions/actions/workflows/linters.yml/badge.svg https://github.com/django-extensions/django-extensions/actions/workflows/precommit.yml/badge.svg https://github.com/django-extensions/django-extensions/actions/workflows/pytest.yml/badge.svg https://github.com/django-extensions/django-extensions/actions/workflows/security.yml/badge.svg Latest PyPI version Supports Wheel format Coverage

Django Extensions is a collection of custom extensions for the Django Framework.

Getting Started

The easiest way to figure out what Django Extensions are all about is to watch the excellent screencast by Eric Holscher (watch the video on vimeo). In a couple minutes Eric walks you through a half a dozen command extensions. There is also a short screencast on GoDjango’s Youtube Channel to help show you even more.

Requirements

Django Extensions requires Django 2.2 or later.

Getting It

You can get Django Extensions by using pip:

$ pip install django-extensions

If you want to install it from source, grab the git repository from GitHub and run setup.py:

$ git clone git://github.com/django-extensions/django-extensions.git
$ cd django-extensions
$ python setup.py install

Installing It

To enable django_extensions in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = (
    ...
    'django_extensions',
    ...
)

Using It

Generate (and view) a graphviz graph of app models:

$ python manage.py graph_models -a -o myapp_models.png

Produce a tab-separated list of (url_pattern, view_function, name) tuples for a project:

$ python manage.py show_urls

Check templates for rendering errors:

$ python manage.py validate_templates

Run the enhanced django shell:

$ python manage.py shell_plus

Run the enhanced django runserver, (requires Werkzeug install):

$ python manage.py runserver_plus

Getting Involved

Open Source projects can always use more help. Fixing a problem, documenting a feature, adding translation in your language. If you have some time to spare and like to help us, here are the places to do so:

Documentation

You can view documentation online at:

Or you can look at the docs/ directory in the repository.

Support

Django Extensions is free and always will be. It is development and maintained by developers in an Open Source manner. Any support is welcome. You could help by writing documentation, pull-requests, report issues and/or translations.

Please remember that nobody is paid directly to develop or maintain Django Extensions so we do have to divide our time between putting food on the table, family, this project and the rest of life :-)

Project details


Release history Release notifications | RSS feed

This version

3.1.2

Download files

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

Source Distribution

django-extensions-3.1.2.tar.gz (613.6 kB view details)

Uploaded Source

Built Distribution

django_extensions-3.1.2-py3-none-any.whl (223.3 kB view details)

Uploaded Python 3

File details

Details for the file django-extensions-3.1.2.tar.gz.

File metadata

  • Download URL: django-extensions-3.1.2.tar.gz
  • Upload date:
  • Size: 613.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for django-extensions-3.1.2.tar.gz
Algorithm Hash digest
SHA256 081828e985485662f62a22340c1506e37989d14b927652079a5b7cd84a82368b
MD5 3462e0c0b163a10365c962cba203e4fd
BLAKE2b-256 cfe2832eca76b860b2c0fc67e8b6b8b173e6f3ebb2f4c015d94f011e6f4c911b

See more details on using hashes here.

File details

Details for the file django_extensions-3.1.2-py3-none-any.whl.

File metadata

  • Download URL: django_extensions-3.1.2-py3-none-any.whl
  • Upload date:
  • Size: 223.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for django_extensions-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 17f85f4dcdd5eea09b8c4f0bad8f0370bf2db6d03e61b431fa7103fee29888de
MD5 c4ae3a788b3f97427a1ecc81d30122b2
BLAKE2b-256 a4ccf5439ec50d3a026ea657da3883bba7fec494182a961cfc98f2de2a0746ac

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