On Apr 5, 11:38 am, MiratCanBayrak wrote:
> here, i have a function that used as a upload_to parameter in my
> model. But i records my pic as screenshot_None.gif. Becouse id is
> appearing when it is recorded. How can i record my images as
> screenshot_id.gif ?? thanks
any ideas ? solutions?
--~--~-~--~~~---~--~~
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
here, i have a function that used as a upload_to parameter in my
model. But i records my pic as screenshot_None.gif. Becouse id is
appearing when it is recorded. How can i record my images as
screenshot_id.gif ?? thanks for your response
from os.path import join, exists
from os import remove
3 matches
Mail list logo