2009/7/5 Mirat Can Bayrak <miratcanbay...@gmail.com>: > I have another question. You are naming images as hash of random number. > There is a small chance to produce same name i think. It is not good way to > give name ha?
The slug field has a unique=True argument, so if the same file name does happen to be produced, it can't be saved to the database, and the user will have to try again. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---