Closed Bug 886987 Opened 11 years ago Closed 11 years ago

use database routing for waffle tables

Categories

(Marketplace Graveyard :: Code Quality, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-08-01

People

(Reporter: ashort, Assigned: ashort)

Details

(Whiteboard: [qa-])

as mentioned in https://github.com/jsocol/django-waffle/pull/30#issuecomment-19962747 we should use Django database routing to choose different waffle tables rather than having to patch waffle itself.
Priority: -- → P2
Assignee: nobody → ashort
okay so I read the documentation too fast and it turns out that database routers just let you pick which database a model is in, not remap a table name. So we'd need a separate waffle db for AMO and/or Marketplace.
https://github.com/mozilla/zamboni/commit/2946307
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-08-01
Can you please add some STRs to this bug or mark it as [qa-] if no QA is needed here?
You need to log in before you can comment on or make changes to this bug.