I'm using django-filer for the first time, and it looks great, and work pretty well.
But all my images are being uploaded to the 'Unsorted Uploads' folder, and I can't figure out a way to put them in a specific one. This strikes me as a fundamental feature, and given that it allows you create folders, this must be possible, right? But I can't find it in the docs, and a quick look through the source didn't help me.
I have a basic setup like:
class Story(models.Model):
image = FilerImageField()
class Gift(models.Model):
# some stuff
class GiftImage(models.Model):
gift = models.ForeignKey(Gift)
image = FilerImageField()
And I want GiftImage.image and Story.image to go into separate folders, so as to make sorting/searching easier for the admin user.
I have tried
image = FilerImageField(upload_to='somewhere') # How a django ImageField would do it
image = FilerImageField(folder='somewhere') # a guess
image = FilerImageField(name='somewhere') # a guess
image = FilerImageField(folder_name='somewhere') # another guess
All of these either give me a "TypeError: init() got an unexpected keyword argument ..." or just don't do what I was hoping.
Cheers!