'New style display applications'

def add_display_application(self, display_application):

    assert (display_application.id not in self.display_applications), 'Attempted    to    add    a    display    application    twice'
    self.display_applications[display_application.id] = display_application
