Note that if these images will be displayed on the site it is best done by
your front end (Apache, ngnx, etc.) since the HTML to show them treats them
as a separate request, and serving static files is your front end's forte.
The front end knows how to do this with files, but probably not with
data
https://docs.djangoproject.com/en/1.7/ref/models/fields/#imagefield
The image file will not be stored in the database, but in MEDIAROOT by
default. So maybe this is not the answer to your question.
On Wednesday, October 29, 2014 10:18:30 AM UTC+1, Shubham Gupta wrote:
>
> Is there any way from
Is there any way from which i can add image as a field so that images are
added into my database?
what data type i must use for this problem..?
thank you in advance
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this grou
3 matches
Mail list logo