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


Ignore:
Timestamp:
05/29/12 14:30:39 (3 years ago)
Author:
charettes
Comment:

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