skip to navigation
skip to content

django-inspectdb 0.2.1

Better inspectdb.

Downloads ↓

A fork of Django management command inspectdb. It was first created to get the correct max_length of MySQL inspection, see ticket #5725.

Installation

First install the package using pip:

pip install django-inspectdb

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'inspectdb',
    ...
)

Usage

Just use it as the normal inspectdb management command:

python manage.py inspectdb > models.py
 
File Type Py Version Uploaded on Size # downloads
django-inspectdb-0.2.1.tar.gz (md5) Source 2011-05-18 5KB 277