### Navigation

- index
- next |
- django-extensions 1.4.6 documentation »

# Welcome to the django-extensions documentation!

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

These include management commands, additional database fields, admin extensions and much more.

这篇文档当然还有中文版

# Getting Started

The easiest way to figure out what Django Extensions are all about is to watch the excellent screencast by Eric Holscher. In a couple minutes Eric walks you through a half a dozen command extensions.

# Getting it

You can get Django Extensions by using pip or easy_install:

    $ pip install django-extensions
    or
    $ easy_install django-extensions

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

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

For more detailed instructions check out our Installation instructions. Enjoy.

# Compatibility with versions of Python and Django

We follow the Django guidelines for supported Python and Django versions. See more at Django Supported Versions

This might mean the django-extensions may work with older or unsupported versions but we do not guarantee it and most likely will not fix bugs related to incompatibilities with older versions.

At the time of writing we support: Python 2.6, 2.7 and 3.3. Django supported versions are 1.4, 1.5 and 1.6.

# Contents

- Installation instructions
  - Download and installation
    - Pip and easy_install
    - Download
    - Installation
  - Version Control
- Current Command Extensions
- Ideas for New Command Extensions
- Current Admin Extensions
  - Example Usage
- shell_plus
  - Interactive Python Shells
  - Configuration
  - Additional Imports
- create_app
  - Example Usage
  - Example generated from sample.dia
- dumpscript
  - Why?
  - Features
  - What it can’t do (yet!)
  - How?
  - Caveats
    - Naming conflicts
- RunScript
  - Introduction
  - Getting Started
  - Usage
  - Passing arguments
- export_emails
  - Example Usage
  - Supported Formats
    - address
    - google
    - outlook
    - linkedin
    - vcard
- Field Extensions
  - Current Database Model Field Extensions
- Graph models
  - Selecting a library
  - Default Settings
  - Templates
  - Example Usage
- Jobs scheduling
  - JobsScheduling
    - This page is very much a Work In Progress
- Model extensions
  - Current Database Model Extensions
- Namespace proposal
  - Introduction
  - Proposal of a Namespace
- print_settings
  - Introduction
  - More Info
- RunProfileServer
  - Introduction
  - gather_profile_stats.py
  - KCacheGrind
  - Links
- RunServerPlus
  - Introduction
  - Getting Started
  - Usage
    - View Source
    - Interactive Debugging Console
    - SSL
    - Configuration
- sync_s3
  - Example Usage
  - Required libraries and settings
  - Optional settings
- sqldiff
  - Supported Databases
  - Exit Codes
  - Example Usage
- sqlcreate
  - Introduction
  - Usage
  - Example
    - PostgreSQL
    - MySQL
  - Known Issues
- validate_templates
  - Options
    - verbosity
    - break
    - includes
  - Settings
    - VALIDATE_TEMPLATES_EXTRA_TEMPLATE_DIRS
  - Usage Example

# Indices and tables

- Search Page

### Navigation

- index
- next |
- django-extensions 1.4.6 documentation »