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

Update jwqldb page with django model names #1681

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bhilbert4
Copy link
Collaborator

Remove old sqlalchemy db table names and replace with Django model names.
This also removes another call to database_interface and sqlalchemy.
Also tweak drop-down menu to show the name of the displayed table rather than reverting to show the first table name in the list.

@bhilbert4 bhilbert4 self-assigned this Feb 14, 2025
@bhilbert4
Copy link
Collaborator Author

@mfixstsci I think this is ready for review. I started by trying to figure out the issue with the jwqldb page that Katie Bechtold was having. But with the service out of commission on the test server, it was hard to investigate. Then I realized that the pull down menu of table names was still referring to sqlalchemy names, and the code included a call to database_interface. So I pivoted to updating the page to use Django models. Everything works for me locally. Hopefully this will resolve the issue.

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