Skip to content

Add __str__ to RemoteRepositoryRelation and RemoteOrganizationRelation and Use raw_id_fields in Admin #8001

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

Conversation

saadmk11
Copy link
Member

@saadmk11 saadmk11 requested a review from humitos March 10, 2021 08:32


admin.site.register(RemoteRepository, RemoteRepositoryAdmin)
admin.site.register(RemoteRepositoryRelation)
admin.site.register(RemoteOrganization, RemoteOrganizationAdmin)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed RemoteOrganizationAdmin because the only attribute it modifies (raw_id_fields = ('users',)) is no longer required because of the through model.

@saadmk11 saadmk11 requested a review from humitos March 10, 2021 14:23
@humitos humitos merged commit 1eea07f into readthedocs:remote-repository-normalization Mar 10, 2021
@saadmk11 saadmk11 deleted the remote-relation-admin branch March 10, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants