On Mon, Jun 18, 2012 at 6:29 AM, Satvir Toor <toor.satvi...@gmail.com> wrote: > On Sun, Jun 17, 2012 at 12:36 PM, Kurtis Mullins > <kurtis.mull...@gmail.com> wrote: >>> On Sun, Jun 17, 2012 at 2:33 AM, Satvir >>> Toor <toor.satvi...@gmail.com> wrote: > >> Make sure you set up the Form enctype correctly. (<form >> ... enctype="multipart/form-data">) > I did it. Problem solved. Thanx Sir. >>> MEDIA_ROOT = >>> '/usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/' > Now, I set my setting.py as > MEDIA_ROOT='/home/toor/media/' > >>setup your front-end httpd server to serve the files from this directory as >>well. > Please tell me how to setup httpd sever to serve the files from this > directory. The images are stored into a folder and their paths which > are relative to MEDIA_ROOT are being store into table. Please help me > to take the images back into browser. The method through which i can retrieve > images from the database to the browser form. > > > -- > Satvir Kaur > satveerkaur.blogspot.in
-- Satvir Kaur satveerkaur.blogspot.in -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.