Browse files

magic-removal: Refs #1508 -- Fixed stuff up in check in for r2565.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 24da073 commit 01babca674026a089850d6fd0397164c1f7b5768 @freakboy3742 freakboy3742 committed Mar 27, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management.py
View
2 django/core/management.py
@@ -374,7 +374,7 @@ def get_sql_indexes(app):
def get_sql_all(app):
"Returns a list of CREATE TABLE SQL, initial-data inserts, and CREATE INDEX SQL for the given module."
- return get_sql_create(mod) + get_sql_initial_data(mod) + get_sql_indexes(mod)
+ return get_sql_create(app) + get_sql_initial_data(app) + get_sql_indexes(app)
get_sql_all.help_doc = "Prints the CREATE TABLE, initial-data and CREATE INDEX SQL statements for the given model module name(s)."
get_sql_all.args = APP_ARGS

0 comments on commit 01babca

Please sign in to comment.