Extensions for Django
Project description
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 1.11 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-extensions-2.2.9.tar.gz
.
File metadata
- Download URL: django-extensions-2.2.9.tar.gz
- Upload date:
- Size: 579.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f81b618ba4d1b0e58603e25012e5c74f88a4b706e0022a3b21f24f0322a6ce6 |
|
MD5 | d246e0a7080eb03fbbd0bdd378fb1398 |
|
BLAKE2b-256 | 2f36c0b28881227d658b2346c11809c88f3d1e52cf2968e25642d74727a97b31 |
File details
Details for the file django_extensions-2.2.9-py2.py3-none-any.whl
.
File metadata
- Download URL: django_extensions-2.2.9-py2.py3-none-any.whl
- Upload date:
- Size: 217.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19182d101a441fe001c5753553a901e2ef3ff60e8fbbe38881eb4a61fdd17c4 |
|
MD5 | 16faa3827385a128b6ad7917aed2e84f |
|
BLAKE2b-256 | 9284e76ba7687d8803d1f96384e42135b9080a8b1f603cd9c2857bb78294161c |