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

FIx database router issue #136

Open
2 tasks done
gideonmaina opened this issue Aug 16, 2024 · 1 comment
Open
2 tasks done

FIx database router issue #136

gideonmaina opened this issue Aug 16, 2024 · 1 comment
Assignees

Comments

@gideonmaina
Copy link
Collaborator

gideonmaina commented Aug 16, 2024

The cannot assign "<>": the current database router prevents this relation. ValueError in some routes arises because the DATABASE setting uses a router that points to Read Replica DB, which is no longer in use.

Screenshot 2024-08-16 at 11 17 12

Troubleshoot

  • Removing the DATABASE variable in settings.py.
  • Test all routes
@gideonmaina gideonmaina self-assigned this Aug 16, 2024
@gideonmaina
Copy link
Collaborator Author

The cannot assign "<>": the current database router prevents this relation. ValueError in some routes arises because the DATABASE setting uses a router that points to Read Replica DB, which is no longer in use.

Screenshot 2024-08-16 at 11 17 12 Troubleshoot
  • Removing the DATABASE variable in settings.py.
  • Test all routes

Issue resolved

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

No branches or pull requests

1 participant