Changes between Initial Version and Version 1 of Ticket #18399, comment 1


Ignore:
Timestamp:
May 29, 2012, 2:30:39 PM (12 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18399, comment 1

    initial v1  
    1 Looking at `get_for_models` implementation there doesn't seems to be way to add this flag while maintaining backward compatiblity since `models` are passed as `*args`...
     1Looking at `get_for_models` implementation there doesn't seems to be way to add this flag while maintaining backward compatiblity since `models` are passed as `*args`... We can rely on kwargs but maybe we could change signatures to get `models` from `*args[0]` say `def get_for_models(self, models, for_concrete_models=True)` and raise a deprecation warning if the old signature is used?
Back to Top