I recently implemented this using a third party library which in turn
proved to be more beneficial than expected, and made things very flexible &
effortless. The implementation did not take more than 2 hours (installation
+ integration into project + interaction with my existing model-structure).
I
Hi Devin,
It's usually recommended to save the file on the filesystem, but reference
it using the database using models.FileField().
https://docs.djangoproject.com/en/dev/ref/models/fields/#filefield
You'll need to set MEDIA_ROOT and MEDIA_URL.
Collin
--
You received this message because you
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#handling-uploaded-files-with-a-model
cheers!
On 15/10/2014 9:38 pm, "Devin Cky" wrote:
>
> please help me i want to upload a file in my django application
>
> how to save in a database(postgresql) an upload fi
please help me i want to upload a file in my django application
how to save in a database(postgresql) an upload file in django ... thank
for your answers .
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
4 matches
Mail list logo