I have a model called product, it has slug and image fields. When it saved i want to rename image file as slugfield. for example if i save a product that called "Sony Laptop", i want to store its image as sony-laptop.jpg. How can i do it? i am stuck for hours.
-- Mirat Can Bayrak <miratcanbay...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---