Commit Graph

13559 Commits

Author SHA1 Message Date
Anssi Kääriäinen d8e68f421e [1.5.x] Fixed #19638 -- Skipped tx support testing for some DBs
PostgreSQL and Oracle always support transactions, so the create table
and rollback test is non-necessary on those DBs.

Thanks to shai for report.

Backpatch of 0478780b8e
2013-02-10 19:08:15 +02:00
Anssi Kääriäinen 60186aa2e5 [1.5.x] Fixed #19707 -- Reset transaction state after requests
Backpatch of a4e97cf315
2013-02-10 14:09:58 +02:00
Anssi Kääriäinen 4c261c61f2 [1.5.x] Fixed #19645 -- Added tests for TransactionMiddleware
Backpatch of f556df90be. Backpatching
these tests so that it will be easier to backpatch the fix for #19707.
2013-02-10 14:01:49 +02:00
Preston Holmes bb12ea2cf1 [1.5.x] Made modwsgi groups_for_user consistent with check_password
2b5f848207 based its changes on #19061
that made the is_active attribute mandatory for user models.
The try/except was not removed for the groups_for_user function.

refs #19780
2013-02-09 09:33:34 -08:00
Tim Graham 7b278278ab [1.5.x] Fixed #19699 - Removed "Please see the release notes" from versionadded/changed directives
Thanks Aymeric for the patch.

Backport of d93edffa89 from master.
2013-02-09 09:22:33 -05:00
Claude Paroz 2d53799ca6 [1.5.x] Fixed #19749 -- Documented ending param to command's self.stdout/err
Thanks xian at mintchaos.com for the report.
Backport of 0201b9d6d from master
2013-02-09 10:19:59 +01:00
Julien Phalip 15796db507 [1.5.x] Cleaned up some lingering signals in the test suite that were causing spurious failures with Pypy and Postgres.
Backport of db09a2de6e
2013-02-08 12:13:43 -08:00
Claude Paroz b8c6de31a6 [1.5.x] Fixed #19779 -- Checked contrib.sites presence in RedirectFallbackMiddleware
Thanks Aymeric Augustin for the report and directions for the patch.
Backport of 2ed90eac from master.
2013-02-08 16:36:57 +01:00
Preston Holmes 830b9fde46 [1.5.x] Fixed #19776 -- Added missing import for backport
line was present on master from 1520748dac
2013-02-08 00:28:37 -08:00
Preston Holmes 660f80c3d6 [1.5.x] Fixed #19662 -- alter auth modelbackend to accept custom username fields
Thanks to Aymeric and Carl for the review.
2013-02-07 16:08:23 -08:00
Aymeric Augustin 833ccd4b5b [1.5.x] Fixed #19772 -- Handled APPEND_SLASH correctly in the redirects app.
Backport of 64623a2.
2013-02-07 22:38:14 +01:00
Tim Graham ad2311dfc6 [1.5.x] Fixed #19706 - Tweaks to the tutorial.
Thanks Daniele Procida.

Backport of aa85ccf8ce from master.
2013-02-07 07:14:03 -05:00
Tim Graham a81363d85a [1.5.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.
Backport of 43efefae69 from master
2013-02-07 07:03:46 -05:00
Julien Phalip 5ba76825cf [1.5.x] Fixed a typo in the test suite that was causing some spurious failures with pypy.
Backport of 6afc85af47
2013-02-06 22:12:02 -08:00
Claude Paroz 20ac33100c Partially revert 9efe1a721, strip_tags improvements
The new regex seems not stable enough for being released. Stripping
with regex might need reevaluation for the next release.
Refs #19237.
2013-02-06 21:19:41 +01:00
Tim Graham 3b952123ac [1.5.x] Fixed #19743 - Documented some limitations of contrib.auth.
Thanks Aymeric for the suggestion.

Backport of afa3e16334 from master
2013-02-06 08:27:53 -05:00
Claude Paroz 933e956ba4 [1.5.x] Fixed #19745 -- Forced resolution of verbose names in createsupersuser
Thanks Baptiste Mispelon for the report and Preston Holmes for the review.
Backport of 2390fe3f4 from master.
2013-02-06 10:06:57 +01:00
Simon Charette f58aae9311 [1.5.x] Fixed #19734 -- Missing values in `DATETIME_INPUT_FORMATS` doc.
Also changed formating of `DATE_INPUT_FORMATS` and
`TIME_INPUT_FORMATS` for readability.

Thanks minddust for the report!

Backport of 5c70299a71 from master.
2013-02-04 15:23:37 -05:00
Claude Paroz 7a90c6adcc [1.5.x] Updated translations (bn/es/eu/lb/mn) 2013-02-04 21:09:20 +01:00
Claude Paroz f5232597ea [1.5.x] Fixed #19725 -- Made createsuperuser handle non-ascii prompts
Thanks Michisu for the report.
Backport of 55c585f1c from master.
2013-02-04 10:11:29 +01:00
Tim Graham 6155b66d06 [1.5.x] Fixed a typo in docs/topics/auth/customizing.txt
Backport of 2c173ff3b4 from master
2013-02-03 13:24:09 -05:00
Julien Phalip be5369fd24 [1.5.x] 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.
Backport of c9c40bc6bc
2013-02-02 15:03:05 -08:00
Nick Sandford e18bd68dbc [1.5.x] Fixed #19445 -- Skip admin fieldsets validation when the ModelAdmin.get_form() method is overridden.
Backport of 0694d2196f
2013-02-02 14:55:59 -08:00
Tim Graham f28fbe7314 [1.5.x] Fixed #19700 - Added documentation for BoundField.field.
Thanks Tiberiu Ana for the report and patch.

Backport of fdaaa24171 from master
2013-02-02 08:38:02 -05:00
Claude Paroz 974909bc9a [1.5.x] Lowered field ordering requirement in ogrinspect test
This test was randomly failing depending on the library environment.
Backport of a1c470a6f from master.
2013-02-02 14:02:43 +01:00
Claude Paroz aaf6f39743 [1.5.x] Added missing parentheses in if clause
Backport of 1f8e7bb07 from master.
2013-02-02 12:14:53 +01:00
Claude Paroz c39be8b836 [1.5.x] Fixed #18144 -- Added backwards compatibility with old unsalted MD5 passwords
Thanks apreobrazhensky at gmail.com for the report.
Backport of 63d6a50dd from master.
2013-02-02 12:03:08 +01:00
Ramiro Morales fd61ce9c4f [1.5.x] Small generic FK docs tweaks.
5f7eecd from master.
2013-02-01 23:41:48 -03:00
Ramiro Morales 923b0de962 [1.5.x] Fixed content types contrib app doc typos.
1ee40f2 from master.
2013-02-01 23:41:06 -03:00
Lucian Ursu a22480797d [1.5.x] Fixed #19690 - Removed unused import in doc examples.
Backport of c6560e4843 from master
2013-02-01 14:19:04 -10:00
Aymeric Augustin 56a7d11237 [1.5.x] Fix rst syntax error.
Thanks Chris Rebert for the report.

Backport of d75a54c.
2013-02-01 21:48:44 +01:00
Aymeric Augustin 11f6295551 [1.5.x] Documented ArchiveIndexView's date_list context variable.
Refs #16218.

Backport of a0c67c6.
2013-02-01 13:43:20 +01:00
Claude Paroz 5ebd0452ba [1.5.x] Fixed #19714 -- Updated documentation about TemplateView context
Thanks Aramgutang for the report. Refs #17228.
Backport of 56e553129 from master.
2013-02-01 09:58:35 +01:00
Aymeric Augustin db49b6d2b2 [1.5.x] Fixed #19708 -- Exception in timezone.override(None).
Thanks rafales.

Backport of 9a4a1ce.
2013-01-31 16:02:03 +01:00
Ramiro Morales 73bb9664da Enhanced traanslator comments documentation.
Partial (docs only) backport of 47ddd6a from master.
2013-01-31 10:58:05 -03:00
Aymeric Augustin 11ec0253ab [1.5.x] Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
Thanks Tim for the report and initial patch.

Backport of 89cb771 from master.
2013-01-31 13:55:00 +01:00
Aymeric Augustin 256352a790 Added file forgotten in d5ad9d3d. 2013-01-30 22:11:19 +01:00
Aymeric Augustin d5ad9d3dfe [1.5.x] Fixed #19076 -- Added content_type attribute to TemplateView.
Thanks Gavin Wahl.

Backport of 23e319d.
2013-01-30 21:34:39 +01:00
Tim Graham 5da6ce11ed [1.5.x] Fixed typos in docs and comments
Backport of ee26797cff from master
2013-01-29 10:58:24 -07:00
Tim Graham f6075b0596 [1.5.x] Fixed #19683 - Added a missing import in signing example.
Thanks sunsongxp@ for the report.

Backport of 537d44b1b9 from master
2013-01-29 06:13:47 -05:00
Tim Graham c87f89c0db [1.5.x] Fixed a malformed link. 2013-01-27 06:11:42 -05:00
Ramiro Morales 5ab24e205a [1.5.x] Added more shortcuts to i18n docs in index page.
5b99d5a from master
2013-01-25 20:43:21 -03:00
Claude Paroz 2d8b0315f4 [1.5.x] Fixed #19665 -- Ensured proper stderr output for Command.run_from_argv
Thanks Stefan Koegl for the report and Simon Charette for the review.
Backport of b9c8bbf37 from master.
2013-01-25 14:57:18 +01:00
Tim Graham 42fcfcaa52 [1.5.x] Fixed #19577 - Added HTML escaping to admin examples.
Thanks foo@ for the report and Florian Apolloner for the review.

Backport of eafc036476 from master
2013-01-25 06:56:38 -05:00
Tim Graham d571894fc0 [1.5.x] Fixed #19639 - Updated contributing to reflect model choices best practices.
Thanks charettes.

Backport of eaa716a413 from master
2013-01-24 08:00:43 -05:00
Aymeric Augustin 9328ef0e84 [1.5.x] Avoided a possible regression in 5097d3c5.
QuerySet.none() returns an instance of EmptyQuerySet, which may have
undesirable side effects in the presence of custom query set classes.

The implementation of .none() was refactored in master to have the same
effect as .filter(pk__in=[]).

Refs #19652.

Thanks Simon Charrette for the report.
2013-01-24 11:30:05 +01:00
Justin Bronn 1c061ef568 [1.5.x] Fixed typo.
Backport of 71c8539570 from master
2013-01-23 19:21:42 -05:00
Tim Graham 2e6b0c5ca7 [1.5.x] Fixed #19610 - Added enctype note to forms topics doc.
Thanks will@ for the suggestion.

Backport of 0de2645c00 from master
2013-01-23 04:50:24 -05:00
Anssi Kääriäinen f4132140f5 [1.5.x] Fixed #19652 -- Fixed .none() regression in related fields
The regression was caused by using .none() when querying for related
models, and the origin field's value was None. This resulted in missing
custom related manager subclass as .none() returns plain QuerySet.

This isn't backport from master, in master .none() correctly preserves
the queryset's class.

Patch provided by Simon Charette, with some minor polish by committer.
2013-01-23 08:26:34 +02:00
Tim Graham 54887d686b [1.5.x] Fixed #19633 - Discouraged use of gunicorn's Django integration.
Backport of 0db86273ae from master
2013-01-22 19:05:19 -05:00