Skip to content

Conversation

@arthanson
Copy link
Collaborator

Fixes: #15192

Fixes two related cases when there are no current config revisions:

  1. If there are no config revisions and you go to http://localhost:8000/core/config/ it will error - that fix is in views.py to return the get_config().defaults.
  2. If you are viewing the now working current config page and choose to edit you will get another error on the edit form for 'NoneType' is not iterable. That is the fix in config.py

@arthanson arthanson marked this pull request as ready for review February 20, 2024 18:45
@jeremystretch jeremystretch merged commit 9b9afdc into develop Feb 20, 2024
@jeremystretch jeremystretch deleted the 15192-fix-config-revision branch February 20, 2024 19:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError at /core/config/

3 participants