Changes between Initial Version and Version 1 of Ticket #24322, comment 3
- Timestamp:
- Mar 14, 2015, 8:03:21 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24322, comment 3
initial v1 1 1 It'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`. 2 2 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`.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 stored somewhere like `Apps.all_models`.