> Is this not possible? I wonder why Django force to upload files only
> in a certain directory and doesn't allow more flexibility.
>
> On 29 Set, 19:46, Federico Capoano <nemesis.des...@libero.it> wrote:
>
> > Hi everyone,
>
> > is it possible to write a custom model filefield that upload files
> > somewhere above the public directory?
I haven't tried this myself, but a custom file storage might help you:
http://docs.djangoproject.com/en/dev/howto/custom-file-storage/
or using a callback:
http://docs.djangoproject.com/en/dev/ref/models/fields/#filefield
Regards
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment