| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-01-01 | Several small whitespace fixes for styleguide/flake8 violations | Alex Gaynor | |
| 2014-01-01 | Fixed #21018 -- Reversed precedence order for management commands. | Aymeric Augustin | |
| 2014-01-01 | Wiped get_commands() cache when INSTALLED_APPS changes. | Aymeric Augustin | |
| Refs #21018, #21688. | |||
| 2014-01-01 | Fixed #21206 -- Fixed test discovery without labels | Preston Timmons | |
| Added test to verify an empty label performs discovery on the current working directory. | |||
| 2014-01-01 | Readded field unadvertantly removed in fedfd5030 | Claude Paroz | |
| 2014-01-01 | Fixed a few issues in previous commit. | Aymeric Augustin | |
| 2014-01-01 | Properly assigned app_label to GIS test models. | Aymeric Augustin | |
| Used abstract inheritance to cut down on code repetition. | |||
| 2013-12-31 | Fixed #21581 -- Fixed a number of issues with collectstatic. | Loic Bistuer | |
| When STATIC_ROOT wasn't set, collectstatic --clear would delete every files within the current directory and its descendants. This patch makes the following changes: Prevent collectstatic from running if STATIC_ROOT isn't set. Fixed an issue that prevented collectstatic from displaying the destination directory. Changed the warning header to notify when the command is run in dry-run mode. | |||
| 2013-12-31 | Fixed #21714 -- Moved logging configuration to global setup() | Claude Paroz | |
| Thanks Aymeric Augustin for the report and the review. | |||
| 2013-12-31 | Renamed AppConfig.setup to ready. | Aymeric Augustin | |
| Thanks Jannis and Marc for the feedback. Fixed #21717. | |||
| 2013-12-31 | Enforced unicity of app labels. | Aymeric Augustin | |
| Fixed #21679. | |||
| 2013-12-31 | Made it possible to change an application's label in its configuration. | Aymeric Augustin | |
| Fixed #21683. | |||
| 2013-12-31 | Checked unicity of app config names when populating the app registry. | Aymeric Augustin | |
| This check will miss duplicates until the check for duplicate labels is added. Refs #21679. | |||
| 2013-12-31 | Removed an obsolete unicity check. | Aymeric Augustin | |
| It doesn't account for app configs. Refs #21679. | |||
| 2013-12-31 | Fixed #21716 -- Only passed arguments supported by ogrinspect | Claude Paroz | |
| Thanks Marco Badan for the report. | |||
| 2013-12-31 | Small style cleanup. | Aymeric Augustin | |
| 2013-12-31 | Fleshed out release notes for app loading. | Aymeric Augustin | |
| Fixed #21715. | |||
| 2013-12-31 | Turned django.db.models.app_cache_ready back into a method. | Aymeric Augustin | |
| Thanks Anssi for noticing this mistake in a refactoring. | |||
| 2013-12-31 | Oops. | Aymeric Augustin | |
| 2013-12-31 | Called django.setup() explicitly in management commands. | Aymeric Augustin | |
| This avoids duplicating code. | |||
| 2013-12-31 | only attempt to create the postgis extension when it does not already exist | Thomas Schreiber | |
| 2013-12-30 | Removed the only_with_models_module argument of get_model[s]. | Aymeric Augustin | |
| Now that the refactorings are complete, it isn't particularly useful any more, nor very well named. Let's keep the API as simple as possible. Fixed #21689. | |||
| 2013-12-30 | Merge pull request #2126 from apollo13/email_bytes | Florian Apolloner | |
| Many thanks to @bitdancer and @aaugustin for answering my stupid questions about (mail)encodings and pointing me in the right direction. | |||
| 2013-12-30 | Decode mails using the message encoding. | Florian Apolloner | |
| 2013-12-30 | Changed console and filebackend to use msg.as_bytes to output the data as it ↵ | Florian Apolloner | |
| would get send via smtp. | |||
| 2013-12-30 | Merged Apps.populate_apps() and populate_models(). | Aymeric Augustin | |
| After the recent series of refactorings, there's no reason to keep two distinct methods. Refs #21681. | |||
| 2013-12-30 | Removed postponing in Apps.populate_models. | Aymeric Augustin | |
| To the best of my understanding, since populate_models() is now called as soon as Django starts, it cannot be called while a models module is being imported, and that removes the need for postponing. (If hell breaks loose we'll revert this commit.) Refs #21681. | |||
| 2013-12-30 | Stopped populating the app registry as a side effect. | Aymeric Augustin | |
| Since it triggers imports, it shouldn't be done lightly. This commit adds a public API for doing it explicitly, django.setup(), and does it automatically when using manage.py and wsgi.py. | |||
| 2013-12-30 | Populated Apps instances immediately by default. | Aymeric Augustin | |
| 2013-12-30 | Added AppConfig.setup() to run setup code. | Aymeric Augustin | |
| 2013-12-30 | Populated the app registry earlier at startup. | Aymeric Augustin | |
| Refs #1796, #21676. | |||
| 2013-12-30 | Avoided leaking state on exceptions in populate_models(). | Aymeric Augustin | |
| 2013-12-29 | Stopped calling get_models() for a side effect. | Aymeric Augustin | |
| 2013-12-29 | Deprecated the app argument of apps.get_models. | Aymeric Augustin | |
| Use app_config.get_models() instead. | |||
| 2013-12-29 | Changed get_validation_errors to use an app config. | Aymeric Augustin | |
| 2013-12-29 | Changed get_migratable_models to use an app config. | Aymeric Augustin | |
| 2013-12-29 | Changed sql_* to use an app config instead of a models module. | Aymeric Augustin | |
| 2013-12-29 | Fixed stupid error in 21f22f95. | Aymeric Augustin | |
| 2013-12-29 | Removed unused import. | Aymeric Augustin | |
| 2013-12-29 | Removed obsolete docstring. | Aymeric Augustin | |
| 2013-12-29 | Added Apps.clear_cache(). | Aymeric Augustin | |
| This avoid leaking implementation details to tests that swap models. | |||
| 2013-12-29 | Fixed a typo. | Aymeric Augustin | |
| Thanks Simon. | |||
| 2013-12-29 | Added AppConfig.get_models(). | Aymeric Augustin | |
| 2013-12-29 | Cleared global templatetags module cache. | Florian Apolloner | |
| TOOOOO MUCH GLOBAL STATE (you didn't see that). | |||
| 2013-12-29 | Replaced Options.object_name.lower() by Options.model_name. | Aymeric Augustin | |
| Thanks Simon for the suggestion. Also removed inappropriate lowercasing of app labels in migrations. Unlike model names, they are case sensitive. | |||
| 2013-12-29 | Cleared get_models cache when swapping User model. | Aymeric Augustin | |
| Thanks Florian for isolating the shortest way to reproduce this issue: ./runtests.py \ django.contrib.auth.tests.test_context_processors.AuthContextProcessorTests.test_perms_attrs \ django.contrib.auth.tests.test_auth_backends.ChangedBackendSettingsTest.test_changed_backend_settings \ django.contrib.auth.tests.test_auth_backends.CustomUserModelBackendAuthenticateTest.test_authenticate \ django.contrib.auth.tests.test_basic.BasicTestCase.test_createsuperuser_management_command | |||
| 2013-12-29 | Refactored the migration signals to use app configs. | Aymeric Augustin | |
| De-aliased pre/post_syncdb to pre/post_migrate to increase backwards-compatibility. | |||
| 2013-12-28 | Added generation of SQLite FK DDL in initial migrations. | Ramiro Morales | |
| SQLite accepts the relevant standard SQL (although by default it doesn't enforce the constraint), and the 'traditional' creation backend helper generate it, so this allows us to: - Maintain the status quo - Improve readability of the SQL code generated for that backend. Also, we will need this for when we fix Refs #14204. | |||
| 2013-12-28 | Fixed #21242 -- Allowed more IANA schemes in URLValidator | Claude Paroz | |
| Thanks Sascha Peilicke for the report and initial patch, and Tim Graham for the review. | |||
| 2013-12-28 | Removed the only_installed argument of Apps.get_models. | Aymeric Augustin | |
| Refs #15903, #15866, #15850. | |||
