Tim Graham
|
0ed7d15563
Sorted imports with isort; refs #23860.
|
il y a 10 ans |
Tim Graham
|
c0cc8f69e7
Refactored tests that rely on an ImportError for Python 3.5 compatibility
|
il y a 10 ans |
Tim Graham
|
ef9e3c5ed8
Fixed flake8 warning.
|
il y a 10 ans |
Loic Bistuer
|
b62f72498a
Improved warning message when reloading models. Refs #23621.
|
il y a 10 ans |
Loic Bistuer
|
8c4ca16c65
Fixed #23621 -- Warn for duplicate models when a module is reloaded.
|
il y a 10 ans |
Aymeric Augustin
|
b161c01c48
Fixed #22920 -- Avoid masking some exceptions.
|
il y a 10 ans |
Tim Graham
|
e0cf030194
Removed unnecessary absolute_imports.
|
il y a 10 ans |
Carl Meyer
|
88a2d39159
Fixed #21874 -- Require Django applications to have a filesystem path.
|
il y a 11 ans |
Simon Charette
|
c3881944e8
Fixed some missing/extraneous new line warnings.
|
il y a 11 ans |
Aymeric Augustin
|
3c47786cb9
Fixed #21702 -- get_model('app_label.ModelName').
|
il y a 11 ans |
Carl Meyer
|
ca95f8e435
Moved sys.path-extending decorator to django.test.utils and used throughout test suite.
|
il y a 11 ans |
Carl Meyer
|
966b186981
Fixed #17304 -- Allow single-path and configured-path namespace packages as apps.
|
il y a 11 ans |
Aymeric Augustin
|
2ff93e027c
Fixed #21829 -- Added default AppConfigs.
|
il y a 11 ans |
Carl Meyer
|
29ddae7436
Fixed #21871 -- Fixed Apps.is_installed() for apps with custom label.
|
il y a 11 ans |
Aymeric Augustin
|
6a320cc14a
Fixed #21718 -- Renamed has_app to is_installed.
|
il y a 11 ans |
Aymeric Augustin
|
63137a8304
Enforced unicity of app labels.
|
il y a 11 ans |
Aymeric Augustin
|
c40209dcc0
Made it possible to change an application's label in its configuration.
|
il y a 11 ans |
Aymeric Augustin
|
bfcc686d22
Removed the only_with_models_module argument of get_model[s].
|
il y a 11 ans |
Aymeric Augustin
|
7ed20e0153
Populated Apps instances immediately by default.
|
il y a 11 ans |
Aymeric Augustin
|
34a215d506
Deprecated the app argument of apps.get_models.
|
il y a 11 ans |
Aymeric Augustin
|
ba7206cd81
Changed get_model to raise an exception on errors.
|
il y a 11 ans |
Aymeric Augustin
|
bbdf01e00a
Populated non-master app registries.
|
il y a 11 ans |
Aymeric Augustin
|
40b8767635
Fixed a couple flake8 warnings.
|
il y a 11 ans |
Aymeric Augustin
|
8779aa806e
Added a test for Apps.has_app.
|
il y a 11 ans |
Aymeric Augustin
|
cfbdd587f6
Added file forgotten in previous commit, plus one more test.
|
il y a 11 ans |
Aymeric Augustin
|
e179291fa5
Added tests for invalid values of INSTALLED_APPS.
|
il y a 11 ans |
Aymeric Augustin
|
8925aaf613
Added basic tests for get_app_config[s].
|
il y a 11 ans |
Aymeric Augustin
|
52325b0a04
Turned apps.ready into a property. Added tests.
|
il y a 11 ans |
Aymeric Augustin
|
1716b7ce5a
Renamed AppCache to Apps.
|
il y a 11 ans |