Opened 14 years ago
Closed 13 years ago
#17687 closed Bug (fixed)
LayerMapping ignores database routers
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | GIS | Version: | 1.4-alpha-1 |
| Severity: | Normal | Keywords: | gis router multidb |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The LayerMapping class from contrib.gis currently supports multiple databases via a using argument that defaults to DEFAULT_DB_ALIAS. This fails when mapping a model that is routed to a non-default database.
Attachments (1)
Change History (5)
comment:1 by , 14 years ago
| Version: | 1.3-rc1 → 1.3 |
|---|
by , 14 years ago
| Attachment: | pull-112.patch added |
|---|
comment:2 by , 14 years ago
| Has patch: | set |
|---|---|
| Version: | 1.3 → 1.4-alpha-1 |
comment:3 by , 14 years ago
| Component: | Uncategorized → GIS |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → Bug |
comment:4 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
From Github pull request #112