Commit Graph

13565 Commits

Author SHA1 Message Date
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
Simon Charette 78739faedb [1.5.x] Fixed #19576 -- Use `six.with_metaclass` uniformously accross code base.
Backport of f58efd07f from master.
2013-01-08 20:16:14 +01:00
Anssi Kääriäinen 9d6d0de7c1 [1.5.x] Fixed #17541 -- Fixed non-saved/nullable fk querying
Backpatch of 55da775ce1
2013-01-08 21:03:53 +02:00
Claude Paroz beef02eeaa [1.5.x] Updated deprecated test assertions 2013-01-08 19:11:40 +01:00
Carl Meyer b6119a6373 [1.5.x] Fixed typo in 1.5 release notes; thanks Jonas Obrist.
Backport of bb7f34d619 from master.
2013-01-07 20:17:55 -07:00
Claude Paroz 012229914c [1.5.x] Created special PostgreSQL text indexes when unique is True
Refs #19441.
Backport of c698c55966 from master.
2013-01-07 21:02:02 +01:00
Claude Paroz 7ca9b71628 [1.5.x] Fixed #19571 -- Updated runserver output in the tutorial
Backport of a890469d3 from master.
2013-01-06 23:00:29 +01:00
Preston Holmes f02e1167d7 [1.5.x] Fixed #19562 -- cleaned up password storage docs
Conflicts:

	docs/topics/auth/passwords.txt
2013-01-04 18:04:28 -08:00
James Bennett f23d3ce8d4 [1.5.x] Bump version numbers for 1.5 RC 1. 2013-01-04 12:49:58 -06:00
Claude Paroz 96301d21bb [1.5.x] Fixed #19192 -- Allowed running tests with dummy db backend
Thanks Simon Charette for the initial patch, and Jan Bednařík for
his work on the ticket.
Backport of b740da3504 from master.
2013-01-04 14:03:55 +01:00