Re: dump and restore tool for django

2007-01-23 Thread limodou
On 1/24/07, Rob Hudson <[EMAIL PROTECTED]> wrote: > > Russell Keith-Magee wrote: > > Glad you like it. I'm hoping to get some time in the next week or so > > to finish off the few things that are needed before I bug Adrian for > > permission to commit. In the meantime, if you have any suggestions

Re: dump and restore tool for django

2007-01-23 Thread Russell Keith-Magee
On 1/24/07, Rob Hudson <[EMAIL PROTECTED]> wrote: > Is the dump/restore facility tied to fixtures? I see a dumpdb option in > your patch but not a reloaddb (or the like)... just a 'installfixture'. If you follow the discussion when I revealed the patch, you will see that one of the suggestions w

Re: dump and restore tool for django

2007-01-23 Thread Rob Hudson
Russell Keith-Magee wrote: > Glad you like it. I'm hoping to get some time in the next week or so > to finish off the few things that are needed before I bug Adrian for > permission to commit. In the meantime, if you have any suggestions or > comments, let me know. Maybe I could just throw in ano

Re: dump and restore tool for django

2007-01-22 Thread Russell Keith-Magee
On 1/23/07, Rob Hudson <[EMAIL PROTECTED]> wrote: > > I've looked at the dump code in #2333 and I'm looking forward to this > being added. I brought up a question before about being able to dump > data in a database agnostic way. It's interesting how you simply use > the serializers. And JSON f

Re: dump and restore tool for django

2007-01-22 Thread Rob Hudson
I've looked at the dump code in #2333 and I'm looking forward to this being added. I brought up a question before about being able to dump data in a database agnostic way. It's interesting how you simply use the serializers. And JSON for data is an interesting choice too. It looks like it work

Re: dump and restore tool for django

2007-01-21 Thread Russell Keith-Magee
On 1/20/07, limodou <[EMAIL PROTECTED]> wrote: > > > ./manage.py dumpdb > /foo/bar/out.data > > I don't like this. Because I want to save the data into different > files according to each table, but not a single file. #2333 doesn't do per-table, but it does do per-app: ./manage.py dumpdb firstap

Re: dump and restore tool for django

2007-01-20 Thread limodou
> ./manage.py dumpdb > /foo/bar/out.data I don't like this. Because I want to save the data into different files according to each table, but not a single file. > > And if there is foreignkey relationship in one app, the > > order of output data is very important. Because the restore process > >

Re: dump and restore tool for django

2007-01-20 Thread Russell Keith-Magee
On 1/20/07, limodou <[EMAIL PROTECTED]> wrote: > > On 1/20/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > > On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > I was looking for something like this :) I'll test it today :) > > > > You should also keep in mind that the fi

Re: dump and restore tool for django

2007-01-20 Thread limodou
On 1/20/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > I was looking for something like this :) I'll test it today :) > > You should also keep in mind that the fixtures patch that is part of > ticket #2333 can be used to dump

Re: dump and restore tool for django

2007-01-20 Thread Russell Keith-Magee
On 1/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I was looking for something like this :) I'll test it today :) You should also keep in mind that the fixtures patch that is part of ticket #2333 can be used to dump and reload database contents. This patch should be applied shortly (it

Re: dump and restore tool for django

2007-01-19 Thread [EMAIL PROTECTED]
I was looking for something like this :) I'll test it today :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe

dump and restore tool for django

2007-01-18 Thread limodou
I'v finished a tool for dumping and restoring database for django, you can find it at: http://code.djangoproject.com/wiki/DbDumpScript -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~--