-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Warn when using HistoricalRecords on an abstract class without inherit=True #341
Labels
Comments
absolutelysimon
pushed a commit
to absolutelysimon/django-simple-history
that referenced
this issue
Oct 18, 2018
…lse in an abstract class
9 tasks
9 tasks
rossmechanic
pushed a commit
that referenced
this issue
Oct 31, 2018
…ass (#472) * First commit for issue #341 - Warning if inerhit is set to False in an abstract class * First commit for issue #341 - Warning if inerhit is set to False in an abstract class * Fixed flake8 errors and tested that warning is raised * Added changes.rst * Updated warning with tests to improve coverage
history = HistoricalRecords(inherit = True) Reference |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding a
HistoricalRecords
to an abstract model withoutinherit=True
unlike most other Field types doesn't do anything. It should therefore trigger a warning with a hint toinherit=True
.The text was updated successfully, but these errors were encountered: