Aymeric Augustin
7c46c8d5f2
Added some assertions to enforce the atomicity of atomic.
2013-03-11 14:48:55 +01:00
Aymeric Augustin
3bdc7a6a70
Deprecated transaction.is_managed().
...
It's synchronized with the autocommit flag.
2013-03-11 14:48:54 +01:00
Aymeric Augustin
ba5138b1c0
Deprecated transaction.commit/rollback_unless_managed.
...
Since "unless managed" now means "if database-level autocommit",
committing or rolling back doesn't have any effect.
Restored transactional integrity in a few places that relied on
automatically-started transactions with a transitory API.
2013-03-11 14:48:54 +01:00
Aymeric Augustin
f515619494
Added an API to control database-level autocommit.
2013-03-11 14:48:53 +01:00
Aymeric Augustin
7aacde84f2
Made transaction.managed a no-op and deprecated it.
...
enter_transaction_management() was nearly always followed by managed().
In three places it wasn't, but they will all be refactored eventually.
The "forced" keyword argument avoids introducing behavior changes until
then.
This is mostly backwards-compatible, except, of course, for managed
itself. There's a minor difference in _enter_transaction_management:
the top self.transaction_state now contains the new 'managed' state
rather than the previous one. Django doesn't access
self.transaction_state in _enter_transaction_management.
2013-03-11 14:48:53 +01:00
Loic Bistuer
6983a1a540
Fixed #15363 -- Renamed and normalized to get_queryset
the methods that return a QuerySet.
2013-03-08 10:11:45 -05:00
Aymeric Augustin
2ee21d9f0d
Implemented persistent database connections.
...
Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
2013-02-28 15:28:13 +01:00
Aymeric Augustin
ab1c25f674
Added a Trac-related item to the release checklist.
2013-02-28 10:26:47 +01:00
Carl Meyer
bd669e47d7
Added a note about creating new doc versions; update stable doc version before announcement.
2013-02-26 14:46:46 -07:00
Carl Meyer
9e6725c5ea
Added note about updating default docs version in howto-release doc.
2013-02-26 13:46:32 -07:00
Florian Apolloner
28e545c4b3
Updated docs to reflect new tests layout.
...
Thanks to Ramiro Morales for the initial patch.
2013-02-26 15:00:16 +01:00
Aymeric Augustin
5d883589a8
Updated the release process docs to reflect the current practices.
...
Fixed #17919 .
2013-02-25 20:23:26 +01:00
Carl Meyer
906dc8522a
Fixed #19854 -- Turn Django's own Selenium tests off by default.
2013-02-25 10:14:42 -07:00
Carl Meyer
f480b39525
Various tweaks and additions to 'how to release Django' document.
2013-02-23 17:58:57 -07:00
Preston Holmes
9d2c0a0ae6
Removed superfluous cookie check from auth login.
...
This is ensured through the CSRF protection of the view
2013-02-23 15:28:49 -08:00
Jacob Kaplan-Moss
799be90fde
Some updates to "how to release Django":
...
Typo fixes, spell check, some more specifics where possible.
2013-02-23 13:01:52 -06:00
Jacob Kaplan-Moss
e3296268de
Added a draft document explaining how to release Django.
...
Thanks to James for the first draft; I made a few changes (svn->git) and
some supporting links, but mostly I added FIXME's.
2013-02-23 12:35:38 -06:00
Zbigniew Siciarz
1cd2f51eb4
Added test runner option to skip Selenium tests ( #19854 ).
2013-02-23 17:45:26 +01:00
Vladimir A Filonov
f49e9a517f
Fixed #17906 - Autoescaping {% cycle %} and {% firstof %} templatetags.
...
This commit adds "future" version of these two tags with auto-escaping
enabled.
2013-02-23 16:16:39 +01:00
Simon Charette
ec469ade2b
Fixed #19689 -- Renamed Model._meta.module_name
to model_name
.
2013-02-05 04:16:07 -05:00
Julien Phalip
c9c40bc6bc
Fixed #19333 -- Moved compress.py outside of the admin static folder. Thanks to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback.
2013-02-02 15:01:32 -08:00
Simon Charette
ab51dff83d
Added myself to core developpers
2013-02-01 14:52:27 -05:00
Ramiro Morales
7947c9e3a6
Deprecated undocumented warnings manipulation testing tools.
2013-01-31 14:57:45 -03:00
Aymeric Augustin
89cb771be7
Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
...
Thanks Tim for the report and initial patch.
2013-01-31 13:54:40 +01:00
Tim Graham
ee26797cff
Fixed typos in docs and comments
2013-01-29 10:55:55 -07:00
Tim Graham
eaa716a413
Fixed #19639 - Updated contributing to reflect model choices best practices.
...
Thanks charettes.
2013-01-24 07:59:39 -05:00
Aymeric Augustin
50a985b09b
Fixed #19099 -- Split broken link emails out of common middleware.
2013-01-15 17:41:45 +01:00
Tim Graham
9b5f64cc6e
Fixed #19516 - Fixed remaining broken links.
...
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Tim Graham
a04df803a5
Removed links to deprecated IGNORABLE_404_STARTS/ENDS settings.
...
refs #19516 and 641acf76e7
2012-12-29 18:52:50 -05:00
Aymeric Augustin
ebd2598596
Removed django.contrib.markup.
2012-12-29 21:59:07 +01:00
Tim Graham
067505ad19
Fixed broken links, round 4. refs #19516
2012-12-29 15:54:33 -05:00
Preston Holmes
11ded967c4
Fixed #19498 -- refactored auth documentation
...
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:06:12 -08:00
Aymeric Augustin
4500d3522d
Fixed #19518 -- Documented the deprecation of localflavor.
...
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.
2012-12-26 14:29:07 +01:00
Julien Phalip
35d1cd0b28
Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
...
Work by Julien Phalip.
Refs #8001 , #18310 , #19505 . See also 0b908b92a2
.
2012-12-24 15:44:19 -03:00
Aymeric Augustin
9d62220e00
Fixed #15516 -- Updated the ticket life cycle diagram.
2012-12-22 19:01:55 +01:00
Ramiro Morales
d19109fd37
Fixed #19497 -- Refactored testing docs.
...
Thanks Tim Graham for the review and suggestions.
2012-12-21 21:59:06 -03:00
Aymeric Augustin
d5ed81c795
Fixed #19389 -- Docs on the location of contrib apps tests.
2012-12-08 19:47:53 +01:00
Aymeric Augustin
9b755a298a
Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
2012-11-17 22:38:19 +01:00
Tim Graham
7058b595b6
Fixed #16779 - Added a contributing tutorial
...
Thank-you Taavi Taijala for the draft patch!
2012-11-17 14:10:25 -05:00
Preston Holmes
aee9c7b094
Added a note and link to CLA from contributing docs
2012-11-04 12:25:48 -08:00
Preston Holmes
965cc0b1ff
Deprecated depth kwarg on select_related.
...
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.
Thanks to Marc Tamlyn for spearheading and initial patch.
refs #16855
2012-11-02 22:03:33 -07:00
Aymeric Augustin
83ba0a9d4b
Fixed #18978 -- Moved cleanup command to sessions.
...
This removes a dependency of 'core' on 'contrib'.
2012-10-27 18:31:00 +02:00
Tim Graham
5c143cb340
Fixed #19180 - Clarified policy regarding older versions of the docs.
2012-10-25 17:55:42 -04:00
Preston Holmes
e8b258895a
Tweaked tense of URL tag changes for clarity
2012-10-25 12:03:01 -07:00
Aymeric Augustin
495a8b8107
Fixed #6527 -- Provided repeatable content access
...
in HttpResponses instantiated with iterators.
2012-10-24 17:08:37 +02:00
Adrian Holovaty
72efdc4d92
Merge pull request #436 from ddbeck/patch-1
...
Removed heteronormativity from coding style doc
2012-10-15 07:45:27 -07:00
Claude Paroz
a451d2b4a2
Replaced mentions of Subversion by Git in docs
2012-10-14 23:03:01 +02:00
Tim Graham
06f5da3d78
Fixed #16817 - Added a guide of code coverage to contributing docs.
...
Thanks Pedro Lima for the draft patch.
2012-10-11 06:11:52 -04:00
Daniel D. Beck
f315006d50
Remove heteronormativity from coding style doc
2012-10-10 20:38:48 -03:00
Preston Holmes
14681eaa53
Fixed #19045 -- removed 'fixed on a branch' from triage docs
2012-10-01 09:00:41 -07:00