- 31 Ara, 2013 6 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
Claude Paroz yazdı
-
Aymeric Augustin yazdı
This avoids duplicating code.
-
Claude Paroz yazdı
-
Thomas Schreiber yazdı
-
Claude Paroz yazdı
To resolve the conflict between application names.
-
- 30 Ara, 2013 18 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
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.
-
Tim Graham yazdı
-
Florian Apolloner yazdı
Many thanks to @bitdancer and @aaugustin for answering my stupid questions about (mail)encodings and pointing me in the right direction.
-
Tim Graham yazdı
Thanks ashley at ashleymills.com for the suggestion.
-
Florian Apolloner yazdı
-
Florian Apolloner yazdı
Changed console and filebackend to use msg.as_bytes to output the data as it would get send via smtp.
-
Tim Graham yazdı
Thanks Keryn Knight for the report.
-
Aymeric Augustin yazdı
After the recent series of refactorings, there's no reason to keep two distinct methods. Refs #21681.
-
Aymeric Augustin yazdı
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.
-
Aymeric Augustin yazdı
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.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Refs #1796, #21676.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Currently it's 3.3.
-
Aymeric Augustin yazdı
Various small fixes while I was proof-reading.
-
- 29 Ara, 2013 16 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Use app_config.get_models() instead.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
This avoid leaking implementation details to tests that swap models.
-
Aymeric Augustin yazdı
Thanks Simon.
-
Aymeric Augustin yazdı
-
Florian Apolloner yazdı
TOOOOO MUCH GLOBAL STATE (you didn't see that).
-
Aymeric Augustin yazdı
Thanks Simon for the suggestion. Also removed inappropriate lowercasing of app labels in migrations. Unlike model names, they are case sensitive.
-
Aymeric Augustin yazdı
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
-