#27736 closed Cleanup/optimization (fixed)
Prefer decorators for lookup-registration
Description ¶
django/db/models/lookups.py
can be made a bit more compact by using decorators for registrering the lookups. The file has an inconsistent style for it.
Change History (5)
by , 8 years ago
Attachment: | django-db-models-lookups.patch added |
---|
comment:1 by , 8 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Note:
See TracTickets
for help on using tickets.
Yep a cleanup here looks good. Can you turn your patch into a PR please?