Monday, March 28, 2011

Re: Updating to Django 1.3 - how to preserve file field previous behaviour

On Sun, Mar 27, 2011 at 6:47 PM, Russell Keith-Magee
<russell@keith-magee.com> wrote:
> As was suggested when you raised this on django-dev, if you want the
> old behavior, write a subclass of FileField that reintroduces the old
> behavior.

... and for those who're not reading over there, here's some code you
might try: https://gist.github.com/889692. Make sure to read the
WARNING before you put that in production...

Jacob

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment