Re: imagefiled don't Work

2012-01-29 Thread Mario Gudelj
perhaps something from this post can help - http://mariogudelj.tumblr.com/post/16717808643/custom-upload-to-path-in-django On 22 January 2012 21:41, Tony Kyriakides wrote: > (in the terminal) > python manage.py syncdb > > On Jan 21, 8:57 am, cha wrote: > > Hello I reading this tutorialhttps://

Re: imagefiled don't Work

2012-01-27 Thread Tony Kyriakides
(in the terminal) python manage.py syncdb On Jan 21, 8:57 am, cha wrote: > Hello I reading this > tutorialhttps://pype.its.utexas.edu/docs/tutorial/unit6.html#answers > it's work OK But When I want improve it and add ImageField in Category > Model i have problem with ImageField It's Not uploaded

Re: imagefiled don't Work

2012-01-21 Thread Babatunde Akinyanmi
I haven't really read your mail but after you added the imagefield to your Category model did you drop the category table and then syncdb? On 1/21/12, cha wrote: > Hello I reading this tutorial > https://pype.its.utexas.edu/docs/tutorial/unit6.html#answers > it's work OK But When I want improve i

imagefiled don't Work

2012-01-20 Thread cha
Hello I reading this tutorial https://pype.its.utexas.edu/docs/tutorial/unit6.html#answers it's work OK But When I want improve it and add ImageField in Category Model i have problem with ImageField It's Not uploaded file = models.ImageField(upload_to='img/%Y') see code please : _ views.py