diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-08-02 22:33:39 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-08-02 22:33:39 +0000 |
| commit | f4e4ae96cb69d616af6f7009512cdcd2cb7c1e39 (patch) | |
| tree | 718d7f7f37569d29868a4f46d7a68d9a40bde3d5 /django/core/db/backends/sqlite3.py | |
| parent | c0451036ac3823de742fecfc48234775e1cfd333 (diff) | |
Improved 'django-admin inspectdb' so that it detects ForeignKey relationships -- PostgreSQL only
git-svn-id: http://code.djangoproject.com/svn/django/trunk@395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/db/backends/sqlite3.py')
| -rw-r--r-- | django/core/db/backends/sqlite3.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/core/db/backends/sqlite3.py b/django/core/db/backends/sqlite3.py index b719b8f8cd..38ce767dfb 100644 --- a/django/core/db/backends/sqlite3.py +++ b/django/core/db/backends/sqlite3.py @@ -112,6 +112,9 @@ def _sqlite_date_trunc(lookup_type, dt): def get_table_list(cursor): raise NotImplementedError +def get_relations(cursor, table_name): + raise NotImplementedError + # Operators and fields ######################################################## OPERATOR_MAPPING = { |
