Re: FileField/ImageUpload saves upload-to path as \...\...\ instead of /.../.../ in database

2007-03-10 Thread Jay Parlar
On 3/10/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Umm ... Jay? He's using django-users already. :-) Heh, silly me. The first two emails *were* sent to django-dev (and django-users), so Gmail automatically tagged them as such. All the subsequent emails showed up in my django-dev folder b

Re: FileField/ImageUpload saves upload-to path as \...\...\ instead of /.../.../ in database

2007-03-10 Thread Malcolm Tredinnick
On Sat, 2007-03-10 at 14:41 +, shevken wrote: > Hi All, > > Is there a way to change the default path of the image to use > backslash (/../) instead of the forward slash? Firstly, you've got back- and forward-slash reversed: a backslash is '\' and a forward slash is '/'. Best we all use the

Re: FileField/ImageUpload saves upload-to path as \...\...\ instead of /.../.../ in database

2007-03-10 Thread Malcolm Tredinnick
On Sat, 2007-03-10 at 12:28 -0500, Jay Parlar wrote: > django-dev is not the appropriate group for this, you want > django-users. Django-dev is for discussion on the development of > Django itself, not development "with" Django. Umm ... Jay? He's using django-users already. :-) Malcolm --~--~

Re: FileField/ImageUpload saves upload-to path as \...\...\ instead of /.../.../ in database

2007-03-10 Thread Jay Parlar
django-dev is not the appropriate group for this, you want django-users. Django-dev is for discussion on the development of Django itself, not development "with" Django. Jay P. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

FileField/ImageUpload saves upload-to path as \...\...\ instead of /.../.../ in database

2007-03-10 Thread shevken
Hi All, Is there a way to change the default path of the image to use backslash (/../) instead of the forward slash? I declared the following in my model img = models.ImageUpload(upload_to='upload/img/') but in the database the column's value is saved as upload\img \django.jpg When i display