Use %(class)s and %(app_label)s in your related name, as specified in the docs.
%(class)s
%(app_label)s