Commit Graph

13524 Commits

Author SHA1 Message Date
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
Tim Graham dc0bf53276 [1.5.x] Fixed #19477 - Documented generic_inlineformset_factory
Thanks epicserve for the suggestion.

Backport of 214fb700b9 from master
2013-01-22 18:18:32 -05:00
Tim Graham 34718395ed [1.5.x] Fixed #19640 - Added inlineformset_factory to reference docs.
Thanks wim@ for the suggestion.

Backport of 5b2d9bacd2 from master
2013-01-22 07:58:09 -05:00
Florian Apolloner 5f3c45f745 [1.5.X] Fixed #19596 -- Use `_default_manager` instead of `objects` in the auth app.
This is needed to support custom user models which don't define a manager
named `objects`.

Backport of cc4de61a2b from master.
2013-01-22 12:50:40 +01:00
Jani Tiainen 457290326f [1.5.x] Fixed #19606 -- Adjusted cx_Oracle unicode detection.
Backpatch of d194f29057
2013-01-19 09:43:26 +02:00
Tim Graham f6257a147d [1.5.x] Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
Thanks dpravdin and Jordan Messina.

Backport of 0375244eae from master
2013-01-18 18:39:29 -05:00
Aymeric Augustin d90abcc9da [1.5.x] Fixed #19632 -- Bug in code sample.
Thanks grossmanandy at bfusa com and Simon Charette.

Backport of 1dd7492.
2013-01-18 20:52:25 +01:00
Claude Paroz ab6ff2e0ac Fixed i18n test to match changed translation 2013-01-17 22:58:53 +01:00
Tim Graham 40d8b6e28c [1.5.x] Fixed #19597 - Added some notes on jQuery in admin.
Thanks Daniele Procida.

Backport of d406afe12e from master
2013-01-15 20:01:08 -05:00
Claude Paroz 1e95d5ba82 Updated contrib apps translations 2013-01-15 17:30:18 +01:00
Claude Paroz 3f9ab5209f Updated localflavor translations 2013-01-15 17:30:18 +01:00
Claude Paroz 321a6da0d4 Updated core translations 2013-01-15 17:30:17 +01:00
Aymeric Augustin 464e9669a1 [1.5.x] Fixed a typo in the error reporting docs.
Backport of 83d0cc52.
2013-01-15 16:56:03 +01:00
Aymeric Augustin 6428f1cb72 [1.5.x] Fixed #19614 -- Missing request argument in render call.
Thanks Dima Pravdin for the report.

Backport of 74d72e2.
2013-01-15 14:37:25 +01:00
Tim Graham b7828705c8 [1.5.x] Clarified WizardView.get_form_prefix doc, refs #19024
Backport of c9b577ead6 from master
2013-01-15 08:09:43 -05:00
Tim Graham 360676d9d8 [1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.

Backport of 43f89e0ad6 from master
2013-01-15 07:52:06 -05:00
Claude Paroz 5a53f1043c [1.5.x] Fixed #19092 -- Completed Lithuanian date/time formats
Thanks Tadas Dailyda for the report and the patch.
Backport of 2f8ab2f1b0 from master.
2013-01-15 13:49:21 +01:00
Ramiro Morales 9d4f906d47 [1.5.x] Minor DEBUG setting reference formatting edit.
1bbd36a36a from master.
2013-01-14 09:52:13 -03:00
Vinod Kurup 863e0ab57d [1.5.x] Fixed code examples in which render() calls were missing `request` parameter.
5362134090 from master.
2013-01-14 09:50:58 -03:00
Tim Graham 64f1a175bd [1.5.X] Added details on minified jQuery and DEBUG mode for contrib.admin.
Thanks Daniele Procida.

Backport of 4720117a31 from master
2013-01-13 15:12:50 -05:00
Aymeric Augustin d828c5c3a0 [1.5.x] Fixed typo in file storage docs.
Thanks Jørgen Abrahamsen.

Backport of 0ca2d1e.
2013-01-13 19:37:21 +01:00
Stephan Jaekel f16eb0b0d0 [1.5.x] Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
Backport of 17f8496fe from master.
2013-01-12 15:55:42 +01:00
Stephan Jaekel fb130cb40e [1.5.x] Fixed #18026 -- Don't return an anonymous dict if extra_data in storage is empty.
Backport of 97121cb9 from master.
2013-01-12 15:51:15 +01:00
Claude Paroz b3887ab98a [1.5.x] Fixed #19488 -- Made i18n_patterns redirect work with non-slash-ending paths
Thanks Daniel Gerzo for the report and the initial patch.
Backport of bcdb4898c from master.
2013-01-11 21:35:45 +01:00
Claude Paroz 1d03ff06bb [1.5.x] Fixed #19585 -- Fixed loading cookie value as a dict
This regression was introduced by the 'unicode_literals' patch.
Backport of f08e739bc2 from master.
2013-01-11 21:14:39 +01:00
Tim Graham b86c3ddce8 [1.5.x] Fixed #19437 - Clarified pip install instructions in contributing tutorial.
Backport of 9f9a7f03d7 from master
2013-01-11 08:10:32 -05:00
Tim Graham c94fcc4117 [1.5.x] Fixed #10239 - Added docs for modelform_factory
Thanks ingenieroariel for the suggestion and slurms for the review.

Backport of 71d76ec011 from master
2013-01-11 06:01:19 -05:00
Tim Graham 72ef63bf86 [1.5.x] Fixed #19588 - Added create_superuser to UserManager docs.
Thanks minddust for the report.

Backport of 4da5947a87 from master
2013-01-10 15:17:37 -05:00
Nick Sandford b4544dbd5b [1.5.x] Fixed #19573 -- Allow override of username field label in AuthenticationForm
Backport of cdad0b28d from master.
2013-01-10 09:07:06 +01:00
Tim Graham f9604c8247 [1.5.x] Addeded CSS to bold deprecation notices.
Thanks Sam Lai for mentioning this on the mailing list.

Backport of 227bd3f8db from master
2013-01-09 19:05:00 -05:00
Tim Graham 7f7b6a369b [1.5.x] Fixed #19586 - Removed URL_VALIDATOR_USER_AGENT from setting docs.
It was removed in Django 1.5, not deprecated.

Backport of 066cf2d70e from master
2013-01-09 18:34:36 -05:00
Florian Apolloner 1d3368b587 [1.5.X] Fixed lockups in jenkins, refs #19546.
Backport of ce580dd8ea from master.
2013-01-09 23:34:33 +01:00
Claude Paroz 785ec24720 [1.5.x] Skipped deprecation warning test on Python 2.6
Refs #19546. On Python 2.6, DeprecationWarnings are visible by
default.
Backport of e6949373b from master.
2013-01-09 20:02:51 +01:00
Preston Holmes af8e858c15 [1.5.x] Fixed #19546 - ensure that deprecation warnings are shown during tests
refs #18985
2013-01-09 08:19:56 -08:00
Tim Graham 7c39e041b1 [1.5.x] Added sphinx substitutions in place of hardcoded version numbers.
Refs #19571

Backport of 1884868adc from master
2013-01-08 15:59:42 -05:00
Tim Graham c95ae7729f [1.5.x] Fixed #19555 - Removed '2012' from tutorial 1.
Thanks rodrigorosa.lg and others for the report.

Backport of 99315f709e from master
2013-01-08 15:45:27 -05:00