johnmnemonik / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Generate Valid File names with patch to current SVN #130

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upload a photo with a space in the name ex: 'todo list.jpg'
2. Try to view the file in any front end template

What is the expected output? What do you see instead?
link to the image
blank

Created a patch to the svn, see attached models.patch

Original issue reported on code.google.com by alvin.mi...@gmail.com on 22 Aug 2009 at 3:41

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for patching this. I applied it and the name gets corrected but doesn't 
know what subdirectories to look in. In other words it lost the 
/photologue/photos/[filename] and became just [filename]

Any clue what's going wrong?

Original comment by KingCarn...@gmail.com on 10 May 2011 at 10:41