there is my model which has an image field and i want a default image sets if user didnt enter any
class Parts(models.Model):
....
pic=models.ImageField(blank=True,null=True,verbose_name=_('pic'),upload_to = 'stocks', default = 'stocks/nopic.jpg')
.....
but when the user dosent enter an image , it sets this path for image "stocks/nopic.jpg" but can not open the path amd show it in template and when i manually brows this path :"stocks/nopic.jpg" and enter the image , it saves something like : stocks/nopic_yJNuXZn.jpg or stocks/nopic_bOzePAk.jpg and it is showable
How can i define a default image for imagefield ?