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 4.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:

$ git clone git://github.com/django-extensions/django-extensions.git
$ cd django-extensions
$ pip 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 developed 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

4.1

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-4.1.tar.gz (283.1 kB view details)

Uploaded Source

Built Distribution

django_extensions-4.1-py3-none-any.whl (233.0 kB view details)

Uploaded Python 3

File details

Details for the file django_extensions-4.1.tar.gz.

File metadata

  • Download URL: django_extensions-4.1.tar.gz
  • Upload date:
  • Size: 283.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for django_extensions-4.1.tar.gz
Algorithm Hash digest
SHA256 7b70a4d28e9b840f44694e3f7feb54f55d495f8b3fa6c5c0e5e12bcb2aa3cdeb
MD5 f6adca780c9ecae658a6fe583a78c230
BLAKE2b-256 6db3ed0f54ed706ec0b54fd251cc0364a249c6cd6c6ec97f04dc34be5e929eac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_extensions-4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0699a7af28f2523bf8db309a80278519362cd4b6e1fd0a8cd4bf063e1e023336
MD5 9635d39867fb339268207e65a9f1179d
BLAKE2b-256 6496d967ca440d6a8e3861120f51985d8e5aec79b9a8bdda16041206adfe7adc

See more details on using hashes here.

Supported by

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