Opened 14 years ago

Closed 14 years ago

#1598 closed defect (fixed)

[magic-removal] References to get_object() instead of get()

Reported by: gsakkis@… Owned by: Adrian Holovaty
Component: Core (Other) Version: magic-removal
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


I hit an exception using the Admin interface on the magic-removal branch ("'Manager' object has no attribute 'get_object'"), but the bug lies on the core framework. Grepping through the source, there are three references to 'get_object' that should be changed to 'get':

/home/george/magic-removal/django/db/models/fields/ klass._default_manager.get_object(pk=field_data)
/home/george/magic-removal/django/db/models/ _ =
/home/george/magic-removal/django/db/models/ obj = self._default_manager.get_object(order_by=('_order',),


Change History (1)

comment:1 Changed 14 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [2644]) magic-removal: Fixed #1598 -- Removed some references to get_object()

Note: See TracTickets for help on using tickets.
Back to Top