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

2007-03-09 Thread shevken
I'm on windows btw. On Mar 8, 4:52 pm, "shevken" <[EMAIL PROTECTED]> wrote: > 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/')

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

2007-03-08 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