Opened 10 years ago
Closed 10 years ago
#25629 closed Cleanup/optimization (fixed)
Some GIS functions don't check the number of arguments
| Reported by: | Claude Paroz | Owned by: | Sergey Fedoseev |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
GIS functions using their parent (GeoFunc) default __init__ don't check that the number of passed arguments is correct (e.g. Area). This should be improved, because currently, the result is a ProgrammingError when hitting the backend instead of a TypeError.
Change History (5)
comment:1 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
| Has patch: | set |
|---|
Note:
See TracTickets
for help on using tickets.
PR -- https://github.com/django/django/pull/5499