1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
Commit Graph

395 Commits

Author SHA1 Message Date
Maarten
fe58d96e50 Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt. 2015-09-05 10:19:38 -04:00
Dražen Odobašić
5ab65ca5c9 Fixed #25326 -- Added namedtuple example for executing custom SQL. 2015-09-03 13:11:46 -04:00
Tim Graham
ea47a052ba Fixed #25311 -- Removed vague language about "partial commits" from docs. 2015-08-25 20:23:43 -04:00
Aymeric Augustin
491d01b7e9 Tweak some examples.
"Area man/woman" is confusing to people not familiar with the
conventions of American journalism (like me).
2015-08-22 20:25:42 +02:00
Brendan Hayward
c9fb4f3c45 Fixed #25205 -- Removed doc references to deprecated GeoManager class. 2015-08-11 10:14:44 -04:00
Tim Graham
5980b05c1f Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
This mostly reverts 5643a3b51b and
81e1a35c36.

Thanks Carl Meyer for review.
2015-08-10 08:51:32 -04:00
Claude Paroz
64982cc2fb Updated Wikipedia links to use https 2015-08-08 12:02:32 +02:00
Caio Ariede
ec9004728e Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. 2015-08-07 09:33:17 -04:00
Tim Graham
e8cd65f829 Fixed #25213 -- Discouraged use of QuerySet.extra()
Thanks Anssi Kääriäinen for the draft text and Simon Charette
for review.
2015-08-05 08:01:11 -04:00
Caio Ariede
3862c568ac Fixed #25136 -- Documented Count('X', distinct=True) in aggregate topic guide. 2015-08-04 10:46:04 -04:00
Flavio Curella
c2e70f0265 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
Andreas Pelme
00a1d4d042 Fixed #21803 -- Added support for post-commit callbacks
Made it possible to register and run callbacks after a database
transaction is committed with the `transaction.on_commit()` function.

This patch is heavily based on Carl Meyers django-transaction-hooks
<https://django-transaction-hooks.readthedocs.org/>. Thanks to
Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
2015-06-30 14:51:00 -04:00
Tim Graham
2fbea621e6 Capitalized "Python" in docs. 2015-06-05 08:24:53 -04:00
Maximiliano
bf07ba523a Simplified wording in QuerySet.update() docs. 2015-06-01 09:42:23 -04:00
Alexander Sosnovskiy
04e8d890ae Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects. 2015-05-22 13:27:16 -04:00
Marco Santamaria
bae72bdd2a Fixed #11078 -- documentation update. 2015-04-19 16:24:14 +02:00
Tim Graham
6b8c969878 Removed docs for removed transaction APIs. 2015-04-14 13:52:45 -04:00
David Seddon
0f6f80c2e7 Corrected typo in documentation 2015-03-25 17:38:56 +00:00
David Seddon
6770b7ecd2 Refs #14645 -- Documented bug with exclude() and multi-value relations 2015-03-20 17:49:07 -04:00
Karl Hobley
81e1a35c36 Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. 2015-03-18 19:00:09 -04:00
Adrian Andreias
937643a1f2 Fixed allow_migrate() signature in router examples. 2015-03-16 09:39:18 -04:00
Floris den Hengst
e42a720ba2 Fixed typos and updated spelling wordlist. 2015-03-07 17:59:03 +01:00
Loic Bistuer
bed504d70b Fixed #24351, #24346 -- Changed the signature of allow_migrate().
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.

This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.

Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.

Refs 22583.
2015-02-20 21:34:09 +07:00
Loic Bistuer
71ada3a8e6 Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it.
Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
2015-02-05 12:45:08 +07:00
darkryder
9ec8aa5e5d Fixed #24149 -- Normalized tuple settings to lists. 2015-02-03 14:59:45 -05:00
Tim Graham
c79faae761 Removed versionadded/changed notes for 1.7. 2015-02-01 21:02:40 -05:00
Loic Bistuer
8f4877c89d Fixed #22583 -- Allowed RunPython and RunSQL to provide hints to the db router.
Thanks Markus Holtermann and Tim Graham for the review.
2015-01-10 00:30:48 +07:00
Helen Sherwood-Taylor
4ccdf6e57f Fixed #24041 -- Documented effect of changing a model instance's primary key. 2014-12-24 15:06:09 -05:00
David Cramer
27f68f8659 Correct scoping of savepoint example 2014-12-20 12:02:26 -08:00
Claude Paroz
0a4b04fc23 Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
wrwrwr
34a06d99e0 Cleaned up a note in docs/topics/db/sql.txt. 2014-12-06 09:25:48 -05:00
Tim Graham
dc2d75f4d4 Fixed typo in aggregation docs link. 2014-12-03 20:07:40 -05:00
Benjamin Bach
3ab8d0b8c7 Fixed a typo in aggregation docs. 2014-12-03 19:52:54 -05:00
Benjamin Bach
4b23a6c7a9 Documented a current limitation of multiple table annotation; refs #10060. 2014-12-03 19:18:55 -05:00
Éric Araujo
cbffc900bb Fix link target markup
This markup for a code block is redundant with the code-block directive below,
and blocks the following line from working as link target.
2014-11-17 16:37:18 -07:00
Josh Smeaton
f59fd15c49 Fixed #14030 -- Allowed annotations to accept all expressions 2014-11-15 14:00:43 +00:00
Ismail Badawi
e501d4c505 Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses. 2014-10-06 08:23:42 -04:00
Duane Hilton
054bdfeff1 Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Greg Brown
9e8658db51 Fixed typo in docs/topics/db/managers.txt 2014-09-29 07:45:28 -04:00
Corey Farwell
4db75925be Fixed typo in docs/topics/db/transactions.txt. 2014-09-03 11:49:00 -04:00
Tim Graham
5ecead9ab9 Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.
Thanks Mike O'Connor for the suggestions.
2014-08-26 15:43:23 -04:00
areski
9d6551204e Removed unnecessary code-block directives. 2014-08-19 16:44:25 -04:00
Tim Graham
7006187064 Fixed #23282 -- Corrected inheritance and reverse relations example.
Thanks knowledgepoint-devs for the report and claudep for review.
2014-08-19 06:28:48 -04:00
Ola Sitarska
6947885926 Fixed #23283 -- Added default=False to BooleanField's in the docs.
Thanks Baptiste for the suggestion.
2014-08-13 18:23:52 -04:00
Tim Graham
fb4f3e04b1 Updated MySQL links to version 5.6. 2014-08-02 10:27:01 -04:00
Christoph Heer
d47409831f Fixed #23067 -- Updated docs to use django-admin 2014-07-30 14:14:03 -04:00
Tim Graham
9f18b6bcb0 Fixed #22978 -- Removed a USA-centric example that didn't add much. 2014-07-08 08:56:41 -04:00
Éric Araujo
5842d8eba4 Removed non-existent reference to args/kwargs in manager docs. 2014-07-02 07:54:02 -04:00
Moayad Mardini
2d425116e2 Fixed #22349 -- Added a note clarifying RawQuerySet has no __len__.
Thanks cdestigter for the report.
2014-06-12 16:41:49 -04:00
Éric Araujo
84cafc2b35 Fix missing highlighting in some code examples 2014-06-05 14:54:28 -04:00