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
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.
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
3 matches
Mail list logo