$ pre-commit run python-import-sorter --files `find readthedocs -name '*.py'`
It was ran with this configuration: https://github.com/rtfd/common/pull/28
* Clean CC sensible data on Gold subscriptions
`PaymentView.submit_form` function removes all CC sensible data.
This function is used for `GoldView` in this repo and also for
`DonateView` in -ext repo.
Since the behavior is shared across them, it's better to modify the
parent's function and remove the override from the children.
* Standardize `card_digits` and `last_4_digits`
Use `last_4_card_digits` to avoid confusion and express exactly what
it contains.
* Rename auto named migration
* Organize logging levels
Log only what we need as ERROR when it's something that we need/want
to take a look that something could be a bug/issue.
There are some ERROR that were replaced by WARNING since they are some
failures but that we don't need to take a look and the message shown
to the user should be enough for them.
* Fix lint issues
* Use the proper exc_info instead of custom formatting
This uses `textInput` for better handling of text field operations like pasting and
autofill. This should allow for card numbers to be pasted in on payment forms.