| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ContentType.name field.
|
| |
|
|
|
|
| |
GenericForeignKey.
|
|
|
|
|
|
|
|
|
| |
check to Model.save()
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and
81e1a35c364e5353d2bf99368ad30a4184fbb653.
Thanks Carl Meyer for review.
|
|
|
|
| |
on_delete for ForeignKey/OneToOneField
|
|
|
|
| |
assignment check to be bypassed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This finsishes the work started on #16803.
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
|
|
|
|
| |
override_settings(DATABASE_ROUTERS); refs #23933.
|
|
|
|
|
|
| |
from CPython's test.support.
StringIO import was adapted for compatibility with Python 2.
|
|
|
|
|
| |
Thanks Jonathan Lindén for the initial patch, and Tim Graham
and Gabe Jackson for the suggestions.
|
| |
|
| |
|
|
|
|
|
|
| |
interactivity.
Thanks raymond at adaptiv.nl for the report.
|
|
|
|
|
|
|
|
| |
O2O, and GFK raise ValueError.
This prevents silent data loss.
Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
|
|
|
|
|
|
| |
from db_for_read.
Thanks Simon Charette and Tim Graham for the reviews.
|
|
|
|
|
|
| |
docs and tests.
Thanks tomwys for the suggestion.
|
| |
|
|
|
|
| |
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
|
|
|
|
| |
contenttypes.views.shortcut.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
It contained models, forms and admin objects causing undesirable
import side effects. Refs #16368.
Thanks to Ramiro, Carl and Loïc for the review.
|
|
|
|
|
|
|
|
|
|
|
| |
framework
This is the result of Christopher Medrela's 2013 Summer of Code project.
Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian
Apolloner, and Alex Gaynor for review notes along the way.
Also: Fixes #8579, fixes #3055, fixes #19844.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This (nearly) completes the work to isolate all the test modules from
each other. This is now more important as importing models from another
module will case PendingDeprecationWarnings if those modules are not in
INSTALLED_APPS. The only remaining obvious dependencies are:
- d.c.auth depends on d.c.admin (because of the is_admin flag to some
views), but this is not so important and d.c.admin is in
always_installed_apps
- test_client_regress depends on test_client. Eventually these should
become a single module, as the split serves no useful purpose.
|
|
|
|
|
|
| |
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
|
|
|
|
| |
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improved Andrew's hack to create temporary app caches to handle
migrations. Now the main app cache has a "master" flag set to True
(which is a non-default keyword argument, thus unlikely to be used by
mistake). Other app cache instances have "master" set to False.
The only sanctioned way to access the app cache is by importing
django.core.apps.app_cache.
If you were instanciating an app cache and relying on the Borg pattern,
you'll have to refactor your code.
|
| |
|
|
|
|
| |
This commit doesn't contain any code changes; it's purely a refactoring.
|
| |
|
|
|
|
| |
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
|
|
|
| |
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
|
|