ok don't know what typo I made yesterday but it works now, maybe
backslash in path. Thanks.
for you who want to know how:
def get_path(instance, filename):
return instance._folder
My model:
class File(models.Model):
type = models.CharField(max_length=10)
the_file = models.FileField(
sorry, my last post was answer to the first reply :-)
I'll the second now. Thanks.
On 4 Aug, 22:08, Stefan Hjelm wrote:
> thanks, forgot to say I tried that aswell but then nothing happens.
> It's just as it ignores that line. It still saves the file under
> "folder&qu
thanks, forgot to say I tried that aswell but then nothing happens.
It's just as it ignores that line. It still saves the file under
"folder" and not under "new_folder"
On 4 Aug, 21:55, Alex Gaynor wrote:
> On Tue, Aug 4, 2009 at 2:53 PM, caliman wrote:
>
> > Hi!
>
> > I'm trying to change uploa
Many thanks!
--~--~-~--~~~---~--~~
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+unsubsc
4 matches
Mail list logo