You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a HistoricalRecords to an abstract model without inherit=True unlike most other Field types doesn't do anything. It should therefore trigger a warning with a hint to inherit=True.
…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
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: