Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding Entry.get_context method #70

Closed
bashu opened this issue Oct 22, 2016 · 2 comments
Closed

Overriding Entry.get_context method #70

bashu opened this issue Oct 22, 2016 · 2 comments

Comments

@bashu
Copy link
Collaborator

bashu commented Oct 22, 2016

source of problem https://github.com/APSL/puput/blob/master/puput/models.py#L157

@marctc
Copy link
Collaborator

marctc commented Oct 22, 2016

Can you explain this with more details? I don't know what's going on.

@bashu
Copy link
Collaborator Author

bashu commented Oct 23, 2016

Hey @marctc

  1. I wanted to override get_context in my custom EntryAbstract model, but it never get called because of inheritance hierarchy, see https://github.com/APSL/puput/blob/master/puput/models.py#L157

  2. now try to swap them and you will encounter the some issue as https://code.djangoproject.com/ticket/27337

@marctc marctc closed this as completed in 7751f05 Oct 23, 2016
marctc added a commit that referenced this issue Oct 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants