-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Remove unused fiels and methods from core/models #5327
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
Comments
Hello @stsewd, |
Yes, and any other code related to these lines. Also, you can check that all tests are passing after that. And I think you'll need to generate a migration file. |
Deleted allow_email and also the function get_contribution_details() function in core/models.py
Since this issue is addressed now, should we close it? |
#5383 isn't merged yet. |
So when will this be ready for merge? |
Hi @rshrc |
We are not using these:
https://github.com/rtfd/readthedocs.org/blob/3218c808e87206983c4eb3ce4faceddbcc0f7aa3/readthedocs/core/models.py#L35-L39
https://github.com/rtfd/readthedocs.org/blob/3218c808e87206983c4eb3ce4faceddbcc0f7aa3/readthedocs/core/models.py#L53-L67
And I don't think we are going to use them in the future, if we agreed in the removal, we can mark this as a good first issue.
The text was updated successfully, but these errors were encountered: