On Wed, Nov 30, 2011 at 2:26 PM, Adrian Holovaty <adr...@holovaty.com> wrote:
....
> Just to be clear, how would you get the "diff" of what's changed?
> Would it automatically change the fixture files after you close the
> shell session? Or would that be up to you?

Yes, I was thinking of catching SystemExit, KeyboardInterrupt or maybe
using atexit and dumping at that time.
We're all using source control here, right? :-)

I guess another thing we could do is provide a function that could be
called to finalize the fixtures.

./manage.py testshell
>>> # hackety hack
>>> from django.... import finalize_fixtures
>>> finalize_fixtures()
^C

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to