I think i rember reading in the doc that you can somehow run custom sql...is that an option ?!
If this is something you don’t have to do regularly you could also just connect to the db with some gui-client and delete the tables there Von: [email protected] [mailto:[email protected]] Im Auftrag von Chen Xu Gesendet: Dienstag, 15. Februar 2011 09:01 An: [email protected] Betreff: Re: Having trouble synchronizing the database, can someone help? thanks, flush does help, but it delete everything, however I have 2 apps in my db, so is there any commands (ex: sqlclear <app_name>) that allows me to only remove the tables in particular app?? Thanks On Mon, Feb 14, 2011 at 11:51 PM, Szabo, Patrick (LNG-VIE) <[email protected]> wrote: I think sqlflush just prints the SQL-Statement. Flush will actually du the job Hope that helps ! . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT-Entwickler LexisNexis Marxergasse 25, 1030 Wien [email protected] Tel.: +43 (1) 534 52 - 1573 Fax: +43 (1) 534 52 - 146 Von: [email protected] [mailto:[email protected]] Im Auftrag von Chen Xu Gesendet: Dienstag, 15. Februar 2011 08:45 An: [email protected] Betreff: Re: Having trouble synchronizing the database, can someone help? thanks very much everyone, but I just have one more small question. I tried to use some python manage.py command to delete tables (ex: sqlflush, sqlreset), but they all just print out the sql statement without doing the real job, so what is the command to do the actual removal of the tables? Thanks -- 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] <mailto:django-users%[email protected]> . For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- ⚡ Chen Xu ⚡ -- 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?hl=en. . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT-Entwickler LexisNexis Marxergasse 25, 1030 Wien mailto:[email protected] Tel.: +43 (1) 534 52 - 1573 Fax: +43 (1) 534 52 - 146 -- 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?hl=en.

