summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-05-20Fixed #20378 -- regression in GenericRelation on abstract modelAnssi Kääriäinen
When a GenericRelation was defined on abstract model, queries on childs of the abstract model didn't work. The problem was in the way fields and in particular field.rel was copied from models to their children. The regression was likely caused by #19385. Thanks to Gavin Wahl for spotting the regression.
2013-05-20Fixed qs.values() regression when used in subqueryAnssi Kääriäinen
2013-05-20Merge pull request #1181 from aaugustin/better-api-to-disable-atomic-requestsMarc Tamlyn
Changed API to disable ATOMIC_REQUESTS per view.
2013-05-19Changed API to disable ATOMIC_REQUESTS per view.Aymeric Augustin
A decorator is easier to apply to CBVs. Backwards compatibility isn't an issue here, except for people running on a recent clone of master. Fixed a few minor problems in the transactions docs while I was there.
2013-05-19Fixed #16330 -- added --pks option in dumpdata commandPreston Holmes
Thanks to guettli for the initial ticket and patch, with additional work from mehmetakyuz and Kevin Brolly.
2013-05-19Made 2d309a70 compatible with Python 3.Aymeric Augustin
2013-05-19Merge pull request #1178 from bmispelon/masterRussell Keith-Magee
Fix for test failure introduced by 980ae2a.
2013-05-19Fix test failure introduced by 980ae2ab29.Baptiste Mispelon
2013-05-19Fixed #15961 -- Modified ModelAdmin to allow for custom search methods.Bozidar Benko
This adds a get_search_results method that users can override to provide custom search strategies. Thanks to Daniele Procida for help with the docs.
2013-05-19Fix #19664 -- Illegal Characters In Session Key Give Fatal Error On File ↵Erik Romijn
Backend Only
2013-05-19Fixed test failures with Oracle when pytz isn't installed.Aymeric Augustin
Thanks Shai Berger for the report.
2013-05-19Fix #20447: URL names given to contrib.auth.views are now resolved.Baptiste Mispelon
This commit also adds tests for the redirect feature of most auth views. It also cleans up the tests, most notably using @override_settings instead of ad-hoc setUp/tearDown methods. Thanks to caumons for the report. Conflicts: docs/releases/1.6.txt
2013-05-19Merge pull request #1130 from vdboor/issue_20442_get_for_idAndrew Godwin
Fixed #20442: NoneType error when fetching a stale ContentType with get_for_id
2013-05-19Merge pull request #1160 from erikr/host-inet-postgres2Aymeric Augustin
Fixed #11442 -- Postgresql backend casts all inet types to text
2013-05-19Fixed #11442 -- Postgresql backend casts all inet types to textErik Romijn
2013-05-19Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middlewareŁukasz Langa
2013-05-19Merge pull request #1028 from manfre/patch-2Aymeric Augustin
Fixed #20340 - document required return value for disable_constraint_checking
2013-05-19Fixed #12747 -- Made reason phrases customizable.Aymeric Augustin
2013-05-19Merge pull request #1152 from ambv/issue11915Aymeric Augustin
Fixed #11915: generic Accept-Language matches country-specific variants
2013-05-19Merge pull request #1094 from senko/ticket_11160Andrew Godwin
Fixed #11160: Formset non_form_errors returns ErrorList() if is_valid is not called
2013-05-19Merge pull request #1134 from senko/ticket_18990Andrew Godwin
Fixed #18990: Loaddata now complains if fixture doesn't exist
2013-05-19Fixed #11915: generic Accept-Language matches country-specific variantsŁukasz Langa
2013-05-19Fixed #12674 -- provide a way to override admin validationHonza Kral
Moved admin validation code to classes and have those be class attributes to the ModelAdmin classes.
2013-05-19ModelState now freezes options and basesAndrew Godwin
2013-05-19Fix proxy objects to respect !=Andrew Godwin
2013-05-19Fixed #18990 -- Loaddata now complains if fixture doesn't existSenko Rasic
If the fixture doesn't exist, loaddata will output a warning. The fixture named "initial_data" is exceptional though; if it doesn't exist, the warning is not emitted. This allows syncdb and flush management commands to attempt to load it without causing spurious warnings. Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions to the ticket.
2013-05-19Fix a typo in a comment.Marc Tamlyn
2013-05-19Merge pull request #1142 from Pike/masterAndrew Godwin
Fixed #20454: Make Urdu (ur) recognized as RTL language
2013-05-19Fixed #18990: Loaddata now complains if fixture doesn't existSenko Rasic
The fixture named "initial_data" is exceptional though; if it doesn't exist, the error is not raised. This allows syncdb and flush management commands to attempt to load it without causing an error if it doesn't exist.
2013-05-19Merge pull request #1141 from inglesp/typoMarc Tamlyn
Typo in comment
2013-05-19Merge pull request #1116 from elektrrrus/ticket_20234_20236Marc Tamlyn
Ticket 20234 20236
2013-05-19Make Urdu (ur) recognized as RTL language. Refs #20454Axel Hecht
2013-05-19Typo in commentPeter Inglesby
2013-05-18Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.Ramiro Morales
Thanks zalew for the suggestion and work on a patch. Also updated, tweaked and fixed testing documentation.
2013-05-18Updated contrib.humanize translation templateClaude Paroz
2013-05-18Fixed #20246 -- Added non-breaking spaces between values an unitsEmil Stenström
2013-05-18Fixed #20440 -- Ensured CharField's max_length/min_length are integersTome Cvitan
2013-05-18Fixed #20234 and #20236 -- SingleObjectMixin fixesKarol Sikora
Added object on SingleObjectMixin returned context, some code clanup.
2013-05-18Fix state tests a littleAndrew Godwin
2013-05-18Fixed #13958 -- problem reporting exception from \r-line-ended fileShai Berger
Thanks petrvanblokland for reporting and saz for the patch
2013-05-18Merge pull request #1127 from filias/20142Aymeric Augustin
Fixed #20142 -- Added error handling for fixture setup
2013-05-18Merge branch 'master' of github.com:django/djangoFlorian Apolloner
2013-05-18Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as deprecatedŁukasz Langa
2013-05-18Fixed #14894 -- Ensure that activating a translation doesn't run into ↵Florian Apolloner
threading issues. Thanks to maxbublis for the report and sergeykolosov for the patch.
2013-05-18Fix NoneType error when fetching a stale ContentType with get_for_idDiederik van der Boor
When a stale ContentType is fetched, the _add_to_cache() function didn't detect that `model_class()` returns `None` (which it does by design). However, the `app_label` + `model` fields can be used instead to as local cache key. Third party apps can detect stale models by checking whether `model_class()` returns `None`. Ticket: https://code.djangoproject.com/ticket/20442
2013-05-18Merge branch 'allow-any-iterable-for-choices'Donald Stufft
2013-05-18Fixed #20430 - Enable iterable of iterables for model choicesDonald Stufft
Allows for any iterable, not just lists or tuples, to be used as the inner item for a list of choices in a model.
2013-05-18Merge pull request #1122 from ambv/issue13285Aymeric Augustin
Fixed #13285: populate_xheaders breaks caching
2013-05-18Fixed #20142 -- Added error handling for fixture setupFilipa Andrade
TestCase._fixture_setup disables transactions so, in case of an error, cleanup is needed to re-enable transactions, otherwise following TransactionTestCase would fail.
2013-05-18Fixed #13285: populate_xheaders breaks cachingŁukasz Langa