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

Fixed #24305 -- Added the ability to shadow abstract fields. #4184

Closed
wants to merge 1 commit into from

Conversation

knbk
Copy link
Contributor

@knbk knbk commented Feb 21, 2015

Allowed to override abstract or virtual fields inherited from base
models. Abstract fields can only be overridden if they don't exist
on any concrete base model. Overriding with None removes the field.
Passing locked=True to the field disallows overriding that field.

https://code.djangoproject.com/ticket/24305

@knbk knbk force-pushed the ticket_24305 branch 2 times, most recently from ad4d00d to ac5bb03 Compare February 22, 2015 00:06
Allowed to override abstract or virtual fields inherited from base
models. Abstract fields can only be overridden if they don't exist
on any concrete base model. Overriding with `None` removes the field.
Passing `locked=True` to the field disallows overriding that field.
@timgraham
Copy link
Member

Loic indicated this approach isn't ideal and said he may offer his own idea when he was some time.

@timgraham timgraham closed this Jun 13, 2015
@knbk knbk deleted the ticket_24305 branch November 12, 2016 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants