Re: ./manage.py dbdump > mydata.sql

2006-11-17 Thread Rob Hudson
Russell Keith-Magee wrote: > I've got a prototype of just such a thing as part of the test fixtures > framework I am working on. It will dump the current contents of the database > in a db-independent format (using the serialization framework). You can then > use this dump as a fixture for later t

Re: ./manage.py dbdump > mydata.sql

2006-11-17 Thread Paul Smith
On Nov 16, 2006, at 8:30 PM, Russell Keith-Magee wrote: > > On 11/17/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > Would something like this be a useful thing to add to manage.py? > > I've got a prototype of just such a thing as part of the test > fixtures framework I am working on. It will dump

Re: ./manage.py dbdump > mydata.sql

2006-11-16 Thread [EMAIL PROTECTED]
yes would be very useful tool. I have some experience with MySQL, so import/export data between servers running MySQL is not a problem for me. but really, for postgres this process is more complicated, so such "helper" function will be very useful --~--~-~--~~~---~--~

Re: ./manage.py dbdump > mydata.sql

2006-11-16 Thread Russell Keith-Magee
On 11/17/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > > Would something like this be a useful thing to add to manage.py? > > It would be a convenience similar to dbshell in that the database > credentials are already in settings.py and you can easily do a database > dump of your data. I've got a

./manage.py dbdump > mydata.sql

2006-11-16 Thread Rob Hudson
Would something like this be a useful thing to add to manage.py? It would be a convenience similar to dbshell in that the database credentials are already in settings.py and you can easily do a database dump of your data. -Rob --~--~-~--~~~---~--~~ You received