On 1/19/07, Patrick J. Anderson <[EMAIL PROTECTED]> wrote:
>
> Hi, I was wondering if it is possible, and if so then how, to have a
> context-sensitive 'upload_to' parameter set for FileField.
>
> Let's say, I have the following model concept:
>
> class MyModel(mode
Hi, I was wondering if it is possible, and if so then how, to have a
context-sensitive 'upload_to' parameter set for FileField.
Let's say, I have the following model concept:
class MyModel(models.Model):
folder = models.CharField(maxlength = 8)
file_html = models.FileField
2 matches
Mail list logo