Re: creating a list of sql that is executed

2009-08-06 Thread Stephen Moore
On Fri, Aug 7, 2009 at 2:56 AM, Shawn Milochik wrote: > > Look for the post_save signal. > > Once you can attach your own function to that signal (make it listen > for the signal and kick something off), you can probably have Django > dump the raw SQL query that is created

Re: creating a list of sql that is executed

2009-08-06 Thread Shawn Milochik
Look for the post_save signal. Once you can attach your own function to that signal (make it listen for the signal and kick something off), you can probably have Django dump the raw SQL query that is created to a text file. I don't know the syntax for that, but check the django.db docs.

creating a list of sql that is executed

2009-07-31 Thread delfick755
Hello, I have a situation where I've created a site using django, using sqlite3. Thus far I've always had the database under version control (which, seeing as it's a binary file, doesn't mean much other than the fact I have a backup) The problem becomes when I make changes on my home computer