#1395 closed defect (invalid)
magic_removal: lower casing the module_name .. why?
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
in django/db/models/options.py we convert the module name to lowercase in contribute_to_class (line 46)
this causes the DB content-type table to store the package-name as lowercase as well, which kind of makes it useless as you then can't use it to import.
Is there a reason?
Note:
See TracTickets
for help on using tickets.
The
module_namething inOptionis going away, so this will cease to be an issue.