Hi,

i am not sure how everyone else does this but here goes.

I have some sample data in xml. so, i converted added the "insert into
...values(..) " format and placed into the myapp/sql/myapp.sql

at this pont i wanted to clear the table and add the sample data.
however, doing:

python manage.py sqlreset myapp > mysql dbname -u username -p

doesn't work. i get this error: "manage.py: error: no such option: -u"

my workaround is to do:
python manage.py sqlreset myapp > filename.sql
mysql dbname -u username -p < filename.sql

Is there a fix for this. i would rather skip the temp file creation
step. 

Thanks

PV


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to