Handling of multiple types of media documents for Django