Changes between Initial Version and Version 1 of Ticket #27755, comment 2
- Timestamp:
- Jan 24, 2017, 10:27:56 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27755, comment 2
initial v1 2 2 What I want to do is just set `self.inlines` to dynamic values according to different person or object. not `inline instances`, so I advise to add a new hook `get_inlines(request, obj=None)` to finish such a thing. 3 3 4 Replying to [comment:1 Tim Graham]: 5 > Are you going to offer a patch to show exactly what you have in mind? I'm not immediately convinced that another hook is needed since the cost of duplicating a for loop is not that great. 4 I've created a new pull request here: https://github.com/django/django/pull/7920.