Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #20337 -- Clarified error message when database ↵ | Dan Loewenherz | 2013-06-01 | 1 | -4/+2 |
| | | | | relation is not allowed. | ||||
* | Fixed #16856 - Added a way to clear select_related. | Tim Graham | 2013-05-30 | 1 | -1/+5 |
| | | | | Thanks Carl for the suggestion and David Cramer for the patch. | ||||
* | Fixed #20272 - Moved update_fields existence check into ↵ | Tim Graham | 2013-05-30 | 1 | -11/+11 |
| | | | | | | Model._do_update. Thanks Gavin Wahl. | ||||
* | Fixed #16436 -- defer + annotate + select_related crash | Tai Lee | 2013-05-30 | 1 | -1/+2 |
| | | | | | | | | Correctly calculate the ``aggregate_start`` offset from loaded fields, if any are deferred, instead of ``self.query.select`` which includes all fields on the model. Also made some PEP 8 fixes. | ||||
* | Fixed #20014 -- implemented get_key_columns() for Oracle | Shai Berger | 2013-05-27 | 1 | -0/+12 |
| | | | | Thanks Aymeric Augustin for reporting | ||||
* | Fixed #20501 -- failure of datetime queries with ↵ | Shai Berger | 2013-05-27 | 1 | -3/+4 |
| | | | | timezones under Oracle | ||||
* | Fixed #16137 - Removed kwargs requirement for ↵ | Tim Graham | 2013-05-27 | 1 | -2/+0 |
| | | | | | | | QuerySet.get_or_create Thanks wilfred@, poirier, and charettes for work on the patch. | ||||
* | Fixed #17582 - Added message to DoesNotExist exceptions. | Tim Graham | 2013-05-27 | 1 | -2/+5 |
| | | | | | Thanks simon@ for the suggestion and JordanPowell for the initial patch. | ||||
* | Fixed #20507 -- SubqueryConstraint alias handling | Anssi Kääriäinen | 2013-05-27 | 1 | -2/+1 |
| | | | | MySQL should work now, too. | ||||
* | Fixed #20507 -- SubqueryConstraint alias relabeling | Anssi Kääriäinen | 2013-05-27 | 2 | -6/+8 |
| | | | | | | | | | | The SubqueryConstraint defined relabeled_clone(), but that was never called. Instead there is now clone() and relabel_aliases() methods for SubqueryConstraint. A related problem was that SubqueryConstraint didn't correctly use quote_name_unless_alias() of the outer query. This resulted in failures when running under PostgreSQL. | ||||
* | Replaced `and...or...` constructs with PEP 308 ↵ | Ramiro Morales | 2013-05-27 | 4 | -4/+4 |
| | | | | conditional expressions. | ||||
* | Fixed a regression in router initialization | Claude Paroz | 2013-05-24 | 1 | -2/+3 |
| | | | | | Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report. | ||||
* | Optimisation in prefetch_related_objects | Luke Plant | 2013-05-24 | 1 | -25/+22 |
| | |||||
* | Fixed #19607 - prefetch_related crash | Luke Plant | 2013-05-24 | 1 | -2/+7 |
| | | | | Thanks to av@rdf.ru and flarno11@yahoo.de for the report. | ||||
* | Delayed settings.DATABASE_ROUTERS usage by ConnectionRouter | Claude Paroz | 2013-05-23 | 2 | -6/+14 |
| | | | | Refs #20474. | ||||
* | Delayed settings.DATABASES usage by ConnectionHandler | Claude Paroz | 2013-05-23 | 2 | -12/+19 |
| | | | | Refs #20474. | ||||
* | Fixed #20474 -- Proxied and deprecated django.db.backend | Claude Paroz | 2013-05-23 | 1 | -1/+23 |
| | |||||
* | Fixed #11398 - Added a pre_syncdb signal | Donald Stufft | 2013-05-23 | 1 | -0/+1 |
| | |||||
* | Fixed #20463 -- Made get_or_create more robust. | Aymeric Augustin | 2013-05-22 | 1 | -3/+3 |
| | | | | | | | When an exception other than IntegrityError was raised, get_or_create could fail and leave the database connection in an unusable state. Thanks UloPe for the report. | ||||
* | Fixed #20012 -- test_year_lookup_edge_case fails under ↵ | Shai Berger | 2013-05-22 | 1 | -0/+10 |
| | | | | | | | | Oracle Used formatted date instead of datetime object for the end of the year range, as the datetime object loses fractions-of-seconds when inserted into the db. | ||||
* | Fixed #20015 -- date__startswith('2008') fails under Oracle | Shai Berger | 2013-05-22 | 1 | -3/+0 |
| | | | | Removed the explicit casting of strings to dates | ||||
* | Fixed #20453 -- inspectdb test failure on Oracle | Shai Berger | 2013-05-22 | 1 | -0/+1 |
| | |||||
* | Fixed #18702 -- Removed chunked reads from QuerySet ↵ | Anssi Kääriäinen | 2013-05-21 | 1 | -120/+29 |
| | | | | iteration | ||||
* | Fixed #19326 -- Added first() and last() methods to QuerySet | Selwin Ong | 2013-05-21 | 2 | -0/+26 |
| | |||||
* | (Re-)moved some imports | Claude Paroz | 2013-05-21 | 1 | -1/+2 |
| | |||||
* | Fixed #9321 -- Deprecated hard-coding of help text in ↵ | Ramiro Morales | 2013-05-20 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | model ManyToManyField fields. This is backward incompatible for custom form field/widgets that rely on the hard-coded 'Hold down "Control", or "Command" on a Mac, to select more than one.' sentence. Application that use standard model form fields and widgets aren't affected but need to start handling these help texts by themselves before Django 1.8. For more details, see the related release notes and deprecation timeline sections added with this commit. | ||||
* | Fixed #20278 -- ensured .get() exceptions do not recurse ↵ | Anssi Kääriäinen | 2013-05-20 | 1 | -6/+4 |
| | | | | | | | | infinitely A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error reporting recurse infinitely on certain rare conditions. Fixed this by not trying to print the given lookup kwargs. | ||||
* | Fixed #20378 -- regression in GenericRelation on ↵ | Anssi Kääriäinen | 2013-05-20 | 1 | -0/+2 |
| | | | | | | | | | | | abstract model 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. | ||||
* | Fixed qs.values() regression when used in subquery | Anssi Kääriäinen | 2013-05-20 | 1 | -1/+6 |
| | |||||
* | Changed API to disable ATOMIC_REQUESTS per view. | Aymeric Augustin | 2013-05-19 | 1 | -0/+17 |
| | | | | | | | 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. | ||||
* | Fixed test failures with Oracle when pytz isn't installed. | Aymeric Augustin | 2013-05-19 | 1 | -0/+6 |
| | | | | Thanks Shai Berger for the report. | ||||
* | Merge pull request #1160 from erikr/host-inet-postgres2 | Aymeric Augustin | 2013-05-19 | 4 | -11/+13 |
|\ | | | | | Fixed #11442 -- Postgresql backend casts all inet types to text | ||||
| * | Fixed #11442 -- Postgresql backend casts all inet types ↵ | Erik Romijn | 2013-05-19 | 4 | -11/+13 |
| | | | | | | | | to text | ||||
* | | Merge pull request #1028 from manfre/patch-2 | Aymeric Augustin | 2013-05-19 | 1 | -2/+3 |
|\ \ | |/ |/| | Fixed #20340 - document required return value for disable_constraint_checking | ||||
| * | Fixed documentation of disable_constraint_checking | Michael Manfre | 2013-04-24 | 1 | -2/+3 |
| | | | | | | The docstring and base implementation of disable_constraint_checking do not indicate that a return value is expected for proper behavior. | ||||
* | | Fixed #20386 - Introspection problem on Oracle | Shai Berger | 2013-05-18 | 1 | -1/+3 |
| | | | | | | | | | | Made introspection always return a unicode as column name on Oracle. Thanks aaugustin for review and suggestion to use force_text(). | ||||
* | | Replaced an antiquated pattern. | Aymeric Augustin | 2013-05-17 | 8 | -17/+17 |
| | | | | | | | | Thanks Lennart Regebro for pointing it out. | ||||
* | | Fixed #20413 - Respect Query.get_meta() | Mike Fogel | 2013-05-15 | 4 | -23/+23 |
| | | |||||
* | | Fixed #20215 -- Disabled persistent connections by default. | Aymeric Augustin | 2013-05-09 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1049 from ↵ | Alex Gaynor | 2013-05-09 | 1 | -15/+0 |
|\ \ | | | | | | | | | | | | | mfogel/remove-unescessary-parameter-checks Remove unnecessary check on __set__ parameters. | ||||
| * | | Remove unnecessary check on __set__ parameters. | Mike Fogel | 2013-05-08 | 1 | -15/+0 |
| | | | |||||
* | | | [py3] Stopped iterating on exceptions. Refs #20025. | Aymeric Augustin | 2013-05-08 | 1 | -2/+2 |
| | | | |||||
* | | | Fixed #20025 -- Pointed to a MySQLdb fork for Python 3. | Aymeric Augustin | 2013-05-08 | 2 | -2/+4 |
| | | | | | | | | | | | | Made a few minor compatibility adjustments. | ||||
* | | | Fixed test failures on MySQL. | Aymeric Augustin | 2013-05-08 | 2 | -1/+15 |
|/ / | | | | | | | | | Some tests failed when the time zone definitions were loaded in MySQL and pytz wasn't installed. This setup isn't supported. | ||||
* | | Systematically imported wraps from functools | Claude Paroz | 2013-05-04 | 1 | -1/+2 |
| | | |||||
* | | Converted a list comprehension into a generator ↵ | Adrian Holovaty | 2013-04-25 | 1 | -1/+1 |
| | | | | | | | | expression in query_utils.py | ||||
* | | Negligible formatting fixes in query_utils.py | Adrian Holovaty | 2013-04-25 | 1 | -3/+2 |
| | | |||||
* | | Removed an errant ipdb import from commit 9777442 | Adrian Holovaty | 2013-04-25 | 1 | -5/+1 |
|/ | |||||
* | Use `LOOKUP_SEP` in `get_or_create`. | Simon Charette | 2013-04-18 | 1 | -2/+2 |
| | |||||
* | Fixed #14019 -- Initialize `SQLInsertCompiler.return_id` ↵ | Tobias McNulty | 2013-04-08 | 1 | -0/+5 |
| | | | | attribute. |