Skip to content
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

refactor: use utils.settings.get_entity_settings_by_modelname #322

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

b1rger
Copy link
Contributor

@b1rger b1rger commented Oct 5, 2023

This replaces every occurence of direct access to settings.APIS_ENTITIES
with the helper function get_entity_settings_by_modelname

@b1rger b1rger force-pushed the birger/294-apis_entities branch from f679ec1 to 4a4e43b Compare October 5, 2023 10:54
@b1rger b1rger marked this pull request as ready for review October 9, 2023 08:03
@b1rger b1rger force-pushed the birger/294-apis_entities branch 2 times, most recently from e72c8d0 to d5f100b Compare October 9, 2023 10:18
This replaces every occurence of direct access to settings.APIS_ENTITIES
with the helper function `get_entity_settings_by_modelname`

In `apis_entities.autocomplete` the commit sets the default of
autocomplete search fields to all model fields that are not relations.
@b1rger b1rger merged commit 5ccc0a2 into main Oct 10, 2023
6 checks passed
@b1rger b1rger deleted the birger/294-apis_entities branch October 11, 2023 11:23
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.

1 participant