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

Raise error or missing configuration items #76

Closed
jeremystretch opened this issue Sep 5, 2024 · 0 comments · Fixed by #78
Closed

Raise error or missing configuration items #76

jeremystretch opened this issue Sep 5, 2024 · 0 comments · Fixed by #78
Assignees
Labels
type: housekeeping Changes to the application which do not directly impact the end user

Comments

@jeremystretch
Copy link
Contributor

Proposed Changes

Raise an exception on init if either of the following conditions is not met:

  • settings.DATABASES must be a DynamicSchemaDict instance.
  • DATABASE_ROUTERS must include the path to BranchAwareRouter

Justification

Without both of these configuration items, branching will not function correctly.

@jeremystretch jeremystretch added the type: housekeeping Changes to the application which do not directly impact the end user label Sep 5, 2024
@jeremystretch jeremystretch self-assigned this Sep 5, 2024
@netboxlabs netboxlabs deleted a comment Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: housekeeping Changes to the application which do not directly impact the end user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant