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

SEARCH_EXPORT_LIMIT in settings.py ignored by whatever in Arches frontend system settings #11697

Closed
whatisgalen opened this issue Dec 19, 2024 · 2 comments

Comments

@whatisgalen
Copy link
Member

Whatever value you set in your project settings.py file e.g. SEARCH_EXPORT_LIMIT = 500000 gets ignored by the value in the tile nested under Arches System Settings:

Screenshot 2024-12-18 at 4 00 06 PM
@chiatt chiatt added this to pipeline Dec 19, 2024
@jacobtylerwalls
Copy link
Member

Hey @whatisgalen, I asked a related question during a recent standup. (I can't remember if you were on the call that day.)

I heard that, contrary to the docstring in the SystemSettings class, the system setting tiles are always supposed to override the settings.py settings. It's a bug that this only happens correctly when running under wsgi.py instead the devserver as described in #11660.

There were also some murmurs about decoupling the Django settings from the configurable settings / system settings graph in a future version.

Given that, isn't this expected behavior?

@jacobtylerwalls
Copy link
Member

The inheritance order is clarified here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants