mimetype replaced by content_type in Django 1.5

Change-Id: I80ffd606746b4d84255d3dc9d3b4516e80f23b91