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:
On Wednesday, October 29, 2014 10:18:30 AM UTC+1, Shubham Gupta wrote:
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 group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b8612d81-a510-43d7-bc7f-57d81b76d686%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment