Changes between Initial Version and Version 1 of Ticket #24322, comment 3


Ignore:
Timestamp:
Mar 14, 2015, 8:03:21 AM (10 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24322, comment 3

    initial v1  
    11It's tempting to replace `Apps.all_models` by the combination of `Apps.app_configs` and `AppConfig.models` but this isn't possible because of `set_available_apps`.
    22
    3 Indeed, if it's used to add an application temporarily, the `AppConfig` for this application will be thrown away in `unset_installed_apps`. If it's used again to add the same application, there's no way to know which models belong to this app, unless the list has been store somewhere like `Apps.all_models`.
     3Indeed, if it's used to add an application temporarily, the `AppConfig` for this application will be thrown away in `unset_installed_apps`. If it's used again to add the same application, there's no way to know which models belong to this app, unless the list has been stored somewhere like `Apps.all_models`.
Back to Top