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]. > 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.

