On Mar 30, 10:53 am, bruno desthuilliers
<bruno.desthuilli...@gmail.com> wrote:
> Uh. Oh, well - then you indeed have a problem :(

> Hum... Is that legacy code ? Looks pretty ugly to me - wouldn't pass a
> code review here.
> Well, assuming you're using at least Django 1.0, I suggest you get rid
> of this mess and make appropriate use of FileField /
> ImageField.upload_to:
>
> http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.mod...

Thanks, Bruno, that gives me a toehold. Yes, that's legacy code; I'm
guessing it was originally written for a pre-1.0 Django, and as noted
above the original developers suggested that downgrading Python to 2.4
would solve the problem. (Ugh.) I'll follow up on the
ImageField.upload_to and see how that does.

Thanks,

pjm

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

Reply via email to