jtrain/django-attachments — pull request #1 by hadesgames (2012-03-26 09:12:59+00:00)
Title: Revert to using object id if the slug is an empty string.

If the slug is an empty string the file name will become something like attachments/foo//bar.txt . The double // breaks everything.