Changeset 9535
- Timestamp:
- 11/29/08 05:51:41 (1 month ago)
- Files:
-
- django/trunk/django/core/management/sql.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/management/sql.py
r8401 r9535 120 120 """ 121 121 Returns a list of the SQL statements used to flush the database. 122 122 123 123 If only_django is True, then only table names that have associated Django 124 124 models and are in INSTALLED_APPS will be included. … … 126 126 from django.db import connection 127 127 if only_django: 128 tables = connection.introspection.django_table_names( )128 tables = connection.introspection.django_table_names(only_existing=True) 129 129 else: 130 130 tables = connection.introspection.table_names()
