Skip to content

App Label used from Newsletter class instead of instance #330

Open
@frennkie

Description

@frennkie

I'm having problems subclassing NewsletterAdmin. I have a app called myapp, but when I subclass the admin classes then instead of e.g. myapp.subscription the reverse match is always attempted for newsletter.subscription.

I think the problem is that the code uses model._meta.app_label instead of obj._meta.app_label

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions