Hello All,

I'm trying to get up and running with the magic removal branch and ran into my 
first snafu.  It turns out the sqlall command didn't quite work.  Turns out 
it was an easy fix though (if the patch is correct).  I've attached a patch 
for it to this email.

-John


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---
Index: django/core/management.py
===================================================================
--- django/core/management.py	(revision 2566)
+++ django/core/management.py	(working copy)
@@ -374,7 +374,7 @@
 
 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
 

Reply via email to