Fix #490: Item editor buttons for media files fixed for Django 1.6