On Fri, May 16, 2008 at 5:58 AM, Carl Karsten <[EMAIL PROTECTED]> wrote: > > Carl Karsten wrote: >> Russell Keith-Magee wrote: >>> On Wed, May 14, 2008 at 1:20 PM, Carl Karsten <[EMAIL PROTECTED]> wrote: >>>> Russell Keith-Magee wrote: >>>>> On Wed, May 14, 2008 at 1:09 AM, Carl Karsten <[EMAIL PROTECTED]> wrote: >>>> What are the chances of getting a dumpdata hack to exclude certain apps? >>>> >>>> I know it isn't too hard to figure out what apps I want to backup, but it >>>> sounds >>>> like the 'exclude' feature might be useful even once this issue is >>>> resolved. >>> It's a reasonable idea - one well worth suggesting as a feature >>> enhancement (I have a nagging feeling that there is something in there >>> already, but I could be getting confused). >>> >>> What are the chances such a fix will automagically materialize out of >>> the ether? Not high. What are the chances that a patch implementing >>> this feature would be added to trunk? Fairly good, conditional on the >>> quality of the patch. >> >> I am not submitting here, I just want to discuss it first. > > I think I like this better: > > make_option('-e', '--exclude', dest='exclude', action='append', > help='App to exclude (use mutiple --exclude to exclude mutiple apps).'), > > ./manage.py dumpdata -e core -e countries -e sessions -e sites
I prefer this syntax too. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---