| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-06-10 | Added TransactionTestCase.available_apps. | Aymeric Augustin | |
| This can be used to make Django's test suite significantly faster by reducing the number of models for which content types and permissions must be created and tables must be flushed in each non-transactional test. It's documented for Django contributors and committers but it's branded as a private API to preserve our freedom to change it in the future. Most of the credit goes to Anssi. He got the idea and did the research. Fixed #20483. | |||
| 2013-06-10 | Added a stealth option to flush to allow cascades. | Aymeric Augustin | |
| This allows using flush on a subset of the tables without having to manually cascade to all tables with foreign keys to the tables being truncated, when they're known to be empty. On databases where truncate is implemented with DELETE FROM, this doesn't make a difference. The cascade is allowed, not mandatory. | |||
| 2013-06-09 | Replaced a dict emulating a set with a set. | Aymeric Augustin | |
| 2013-06-07 | Initial stab at a migrate command, it's probably quite a way off. | Andrew Godwin | |
| 2013-06-07 | Auto-naming for migrations and some writer fixes | Andrew Godwin | |
| 2013-06-07 | Autodetector tests | Andrew Godwin | |
| 2013-06-07 | Field encoding | Andrew Godwin | |
| 2013-06-07 | A bit of an autodetector and a bit of a writer | Andrew Godwin | |
| 2013-06-07 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/models/fields/related.py | |||
| 2013-06-06 | Fixed #20564 -- Generic relations exclude() regression | Anssi Kääriäinen | |
| The patch for #19385 caused a regression in certain generic relations .exclude() filters if a subquery was needed. The fix contains a refactoring to how Query.split_exclude() and Query.trim_start() interact. Thanks to Trac alias nferrari for the report. | |||
| 2013-06-04 | Fixed #17601 -- expose underlying db exceptions under py2 | James Aylett | |
| Use __cause__ to expose the underlying database exceptions even under python 2. | |||
| 2013-06-02 | Added get_app_paths() to the AppCache. | Aymeric Augustin | |
| This method is useful to discover files inside apps. | |||
| 2013-06-01 | Fixed #20337 -- Clarified error message when database relation is not allowed. | Dan Loewenherz | |
| 2013-05-30 | Remove debug prints | Andrew Godwin | |
| 2013-05-30 | Use correct model versions for field operations | Andrew Godwin | |
| 2013-05-30 | Fix error in ModelState.clone() not copying deep enough | Andrew Godwin | |
| 2013-05-30 | Add an Executor for end-to-end running | Andrew Godwin | |
| 2013-05-30 | Allow retrieval of project state at start of migrations | Andrew Godwin | |
| 2013-05-30 | Fixed #16856 - Added a way to clear select_related. | Tim Graham | |
| Thanks Carl for the suggestion and David Cramer for the patch. | |||
| 2013-05-30 | Fixed #20272 - Moved update_fields existence check into Model._do_update. | Tim Graham | |
| Thanks Gavin Wahl. | |||
| 2013-05-30 | Fixed #16436 -- defer + annotate + select_related crash | Tai Lee | |
| 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. | |||
| 2013-05-29 | Start adding operations that work and tests for them | Andrew Godwin | |
| 2013-05-27 | Fixed #20014 -- implemented get_key_columns() for Oracle | Shai Berger | |
| Thanks Aymeric Augustin for reporting | |||
| 2013-05-27 | Fixed #20501 -- failure of datetime queries with timezones under Oracle | Shai Berger | |
| 2013-05-27 | Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_create | Tim Graham | |
| Thanks wilfred@, poirier, and charettes for work on the patch. | |||
| 2013-05-27 | Fixed #17582 - Added message to DoesNotExist exceptions. | Tim Graham | |
| Thanks simon@ for the suggestion and JordanPowell for the initial patch. | |||
| 2013-05-27 | Fixed #20507 -- SubqueryConstraint alias handling | Anssi Kääriäinen | |
| MySQL should work now, too. | |||
| 2013-05-27 | Fixed #20507 -- SubqueryConstraint alias relabeling | Anssi Kääriäinen | |
| 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. | |||
| 2013-05-26 | Replaced `and...or...` constructs with PEP 308 conditional expressions. | Ramiro Morales | |
| 2013-05-24 | Fixed a regression in router initialization | Claude Paroz | |
| Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report. | |||
| 2013-05-24 | Optimisation in prefetch_related_objects | Luke Plant | |
| 2013-05-24 | Fixed #19607 - prefetch_related crash | Luke Plant | |
| Thanks to av@rdf.ru and flarno11@yahoo.de for the report. | |||
| 2013-05-23 | Delayed settings.DATABASE_ROUTERS usage by ConnectionRouter | Claude Paroz | |
| Refs #20474. | |||
| 2013-05-23 | Delayed settings.DATABASES usage by ConnectionHandler | Claude Paroz | |
| Refs #20474. | |||
| 2013-05-23 | Fixed #20474 -- Proxied and deprecated django.db.backend | Claude Paroz | |
| 2013-05-23 | Fixed #11398 - Added a pre_syncdb signal | Donald Stufft | |
| 2013-05-22 | Fixed #20463 -- Made get_or_create more robust. | Aymeric Augustin | |
| 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. | |||
| 2013-05-22 | Fixed #20012 -- test_year_lookup_edge_case fails under Oracle | Shai Berger | |
| 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. | |||
| 2013-05-22 | Fixed #20015 -- date__startswith('2008') fails under Oracle | Shai Berger | |
| Removed the explicit casting of strings to dates | |||
| 2013-05-22 | Fixed #20453 -- inspectdb test failure on Oracle | Shai Berger | |
| 2013-05-21 | Fixed #18702 -- Removed chunked reads from QuerySet iteration | Anssi Kääriäinen | |
| 2013-05-21 | Fixed #19326 -- Added first() and last() methods to QuerySet | Selwin Ong | |
| 2013-05-21 | (Re-)moved some imports | Claude Paroz | |
| 2013-05-20 | Fixed #9321 -- Deprecated hard-coding of help text in model ManyToManyField ↵ | Ramiro Morales | |
| 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. | |||
| 2013-05-20 | Fixed #20278 -- ensured .get() exceptions do not recurse infinitely | Anssi Kääriäinen | |
| 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. | |||
| 2013-05-20 | Fixed #20378 -- regression in GenericRelation on abstract model | Anssi 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-20 | Fixed qs.values() regression when used in subquery | Anssi Kääriäinen | |
| 2013-05-19 | Changed 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-19 | Fixed test failures with Oracle when pytz isn't installed. | Aymeric Augustin | |
| Thanks Shai Berger for the report. | |||
| 2013-05-19 | Merge pull request #1160 from erikr/host-inet-postgres2 | Aymeric Augustin | |
| Fixed #11442 -- Postgresql backend casts all inet types to text | |||
