Changes between Initial Version and Version 1 of Ticket #36988, comment 10
- Timestamp:
- Nov 5, 2026, 7:23:19 AM (9 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36988, comment 10
initial v1 1 1 Following up on @smithdc1's review regarding API design and avoiding settings bloat, here is a consolidated proposal to resolve #36988 cleanly without introducing new global settings or fragile substring checks. 2 2 3 ###Background & Constraints:3 Background & Constraints: 4 4 1. **Regressions with Substring Checks:** As noted by David, pattern matching against "City" or "Country" has historically regressed (#15892, #18677). 5 5 2. **Settings Bloat:** Adding `GEOIP_SUPPORTED_DATABASE_TYPES` was rejected because Django aims to keep global settings minimal. 6 6 3. **The Core Problem:** Commercial DB-IP editions (`DBIP-City`, `DBIP-Country`) and valid third-party databases (e.g., `Geoacumen-Country`) are blocked by the hardcoded `SUPPORTED_DATABASE_TYPES` set, forcing users to monkey-patch private module attributes. 7 7 8 ### Proposed 3-TierSolution:8 Proposed Solution: 9 9 10 10 1. **Native Support for Missing Commercial Editions:**