Fixed some code quality issues.
Fixed some code quality issues.

bartTC/django-attachments,MattFisher/django-attachments,bartTC/django-attachments,bartTC/django-attachments,MattFisher/django-attachments