From de7a336486f83dd9c01b8c2fd3feb014da7f5a49 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 29 Nov 2005 02:05:32 +0000 Subject: Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, Swaroop git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/django-admin.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/django-admin.txt b/docs/django-admin.txt index a8dff6defa..79cf4521ca 100644 --- a/docs/django-admin.txt +++ b/docs/django-admin.txt @@ -86,8 +86,9 @@ customizations. In particular, you'll need to do this: * Add ``primary_key=True`` to one field in each model. The ``inspectdb`` doesn't yet introspect primary keys. -``inspectdb`` only works with PostgreSQL and MySQL. Foreign-key detection only -works in PostgreSQL. +``inspectdb`` works with PostgreSQL, MySQL and SQLite. Foreign-key detection +only works in PostgreSQL. In SQLite, it cannot detect column types; it'll +use ``TextField`` for each column. install [modelmodule modelmodule ...] ------------------------------------- -- cgit v1.3