Compare commits

...

952 Commits

Author SHA1 Message Date
Ramon Moraes
2c6906a0c4 [1.5.x] Updated xhtml2pdf URL in docs. 2016-02-16 07:05:32 -05:00
Luke Plant
57671dd0b9 [1.5.x] Direct readers to format_html() in mark_safe() docs.
Backport of 4832c004e88a68b98b976b4f68a1c9fdb4ea3530 from master
2015-01-15 08:32:32 +00:00
Tim Graham
1d5dfd01ec [1.5.x] Bumped version for 1.5.12 release. 2015-01-02 20:54:56 -05:00
Tim Graham
37ca9fe9cb [1.5.x] Added dates to release notes.
Backport of 15cd71ed24945ff7be5716580603fd65c0d45ef7 from master
2015-01-02 19:22:03 -05:00
Simon Charette
3d35ea4300 [1.5.x] Fixed #23754 -- Always allowed reference to the primary key in the admin
This change allows dynamically created inlines "Add related" button to work
correcly as long as their associated foreign key is pointing to the primary
key of the related model.

Thanks to amorce for the report, Julien Phalip for the initial patch,
and Collin Anderson for the review.

Backport of f9c4e14aeca7df79991bca8ac2d743953cbd095c from master
2014-11-25 14:00:17 -05:00
Simon Charette
17ffd24d9b [1.5.x] Added warning about get_inline_instances() permission checking; refs #23754.
Backport of e0d1f2684ae60573b209783f9fd4f9db163ad704 from master
2014-11-25 13:15:58 -05:00
James Bennett
da3a23a4df [1.5.x] Update version numbers for bugfix release. 2014-10-22 12:44:14 -04:00
Tim Graham
c41f613b75 [1.5.x] Added release dates to release notes.
Backport of 9dc782b631 from master
2014-10-22 12:32:18 -04:00
Emmanuelle Delescolle
314e9cd38f [1.5.x] Fixed #23604 -- Allowed related m2m fields to be references in the admin.
Thanks Simon Charette for review.

Backport of a24cf21722 from master
2014-10-06 08:54:26 -04:00
Simon Charette
d9d4d62d85 [1.5.x] Fixed #23431 -- Allowed inline and hidden references to admin fields.
This fixes a regression introduced by the 53ff096982 security fix.

Thanks to @a1tus for the report and Tim for the review.

refs #23329.

Backport of 342ccbd from master
2014-09-08 14:09:14 -04:00
Tim Graham
b8db1ded5e [1.5.x] Added dates to release notes.
Backport of 0fd23545db from master
2014-09-02 21:35:30 -04:00
James Bennett
d54022b655 [1.5.x] Bump version numbers for bugfix release. 2014-09-02 15:50:34 -05:00
Simon Charette
20474d5bc7 [1.5.x] Fixed #23375 -- Added missing security issues to the archive.
Backport of c9c0be3 from master
2014-08-28 11:10:11 -04:00
Simon Charette
4c96bd8fb3 Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.
Thanks to Trac alias Markush2010 and ross for the detailed reports.

Backport of 3cbb759 from master
2014-08-27 22:05:30 -04:00
Tim Graham
5d647e5f17 [1.5.x] Fixed spelling mistake in file docs.
Backport of a3e88e64a4 from master
2014-08-26 09:45:01 -04:00
Tim Graham
4fa3c04105 [1.5.x] Bumped version number post-release. 2014-08-20 16:37:33 -04:00
Tim Graham
ed4cf3b450 [1.5.x] Added dates to release notes. 2014-08-20 16:33:23 -04:00
James Bennett
1f5ff0b1eb [1.5.x] Bump version numbers for security release. 2014-08-20 15:09:42 -05:00
Simon Charette
2a446c896e [1.5.x] Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 11:44:02 -04:00
Preston Holmes
dd68f319b3 [1.5.x] Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USE change.
This is a security fix. Disclosure following shortly.
2014-08-20 11:44:02 -04:00
Tim Graham
26cd48e166 [1.5.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
This is a security fix. Disclosure following shortly.
2014-08-20 11:44:02 -04:00
Florian Apolloner
45ac9d4fb0 [1.5.x] Prevented reverse() from generating URLs pointing to other hosts.
This is a security fix. Disclosure following shortly.
2014-08-20 11:44:02 -04:00
Tim Graham
25d9ae5214 [1.5.x] Added release note stubs for 1.5.9 and 1.4.14. 2014-08-20 11:44:02 -04:00
Tim Graham
27ab82f7fc [1.5.x] Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab4cc926ab9e77619132cb398231ac33.

Backport of a7443c24a3 from master
2014-08-13 21:45:36 -04:00
Tim Graham
00ec30d3c4 [1.5.x] Added a warning that remove_tags() output shouldn't be considered safe.
Backport of 7efce77de2 from master
2014-08-11 07:09:56 -04:00
Ola Sitarska
5d6e4031df [1.5.x] Fixed #23267 -- Fixed typo in Translation documentation
Thanks to Tomin1 for the report.

Backport of 2e7be92b4df29ac851d570e57da5dcf756c5ac52 from master.
2014-08-11 12:10:52 +02:00
Tim Graham
bafc7237a9 [1.5.x] Noted that django-jython requires Django 1.7.
Backport of 72e98d5c16 from stable/1.6.x
2014-08-08 12:47:54 -04:00
Mohammed Attia
50369c5295 [1.5.x] Removed a doc reference to the deprecated mimetype kwarg.
Backport of 61ed959235 from master
2014-08-06 22:21:16 -04:00
Tim Graham
e0fb48c254 [1.5.x] Fixed #23239 -- Clarified a phrase in the contrib.markup docs. 2014-08-06 08:28:51 -04:00
Erik Romijn
12ac0bb91b [1.5.x] Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
Backport of e26366da44bb343e7a95d01ff0dd18b8026c2802 from master.
2014-08-02 19:00:50 +02:00
Ramiro Morales
291e837bda [1.5.x] Revert "Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet."
This reverts commit 4ae68f677b3348765d8649d8b57beffa18fe8d3d.

stable/1.5.x branch is in security-fixes-only mode.
2014-07-14 21:12:40 -03:00
Tim Graham
4ae68f677b [1.5.x] Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.
Thanks sebastien at clarisys.fr for the report and gautier
for the patch.

Backport of 5e2c4a4bd1 from master
2014-07-14 12:38:43 -03:00
Tim Graham
ddc715edd3 [1.5.x] Fixed #22966 -- Clarified which release notes appear for each doc version.
Thanks haimunt at yahoo.com for the suggestion.

Backport of e6b3d6c22f from master
2014-07-07 15:31:57 -04:00
Tim Graham
ce06ef5569 [1.5.x] Fixed #22859 -- Improved crossDomain technique in CSRF example.
Thanks flisky for the report.

Backport of 0be4d64487 from master
2014-06-18 14:38:19 -04:00
vagrant
7342784b99 [1.5.x] Fixed #22842
Backport of 7a1f8414c3b71b6af03e5be9f5f8db115551c410 from master.
2014-06-15 21:13:05 +02:00
Tim Graham
d57cf88c1e [1.5.x] Improved deprecation plan links in release notes.
Backport of 7ff326928a08d4c51141768bd305a44ca5ecb2e7 from master
2014-05-29 18:59:56 -04:00
Erik Romijn
d5ca482451 [1.5.x] Fixed #22644 -- Clarified documentation for NamedUrlWizardView
Backport of 727d048f0991ccbd1564c6fb225ffbfd2f1a2102 from master.
2014-05-17 15:18:32 +02:00
Claude Paroz
044a4fd7a8 [1.5.x] Fixed case in form widgets docs
Backport of 9494f29d from master
2014-05-16 17:43:26 -04:00
Moritz
220c09e97a [1.5.x] Fixed #22167 -- Improved documentation on context processors
Backport of e7ffba8f78849fbf60b98fb8d67ef4577b585e3b from master.
2014-05-16 18:30:23 +02:00
Tim Graham
5c65aa9243 [1.5.x] Minor edits to latest release notes.
Backport of 860d31ac7a3bdd4b27db8b34b110b3d801ddaf8a from master
2014-05-15 07:17:17 -04:00
Jacob Kaplan-Moss
4752580881 Bumped version number post release. 2014-05-14 18:31:37 +02:00
Jacob Kaplan-Moss
4e922f6084 Bumped version numbers for release. 2014-05-14 18:27:50 +02:00
Jacob Kaplan-Moss
ffcb009178 Added release notes for 1.4.13, 1.5.8. 2014-05-14 18:26:26 +02:00
Erik Romijn
ad32c21885 [1.5.x] Added additional checks in is_safe_url to account for flexible parsing.
This is a security fix. Disclosure following shortly.
2014-05-12 09:42:06 -04:00
Aymeric Augustin
4001ec8698 [1.5.x] Dropped fix_IE_for_vary/attach.
This is a security fix. Disclosure following shortly.
2014-05-12 09:41:34 -04:00
Tim Graham
41ab97b6a4 [1.5.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
Thanks adminq80 at gmail.com.

Backport of 87776859af from master
2014-05-05 06:42:41 -04:00
Tim Graham
73136a887d [1.5.x] Added dates to release notes of today's release.
Backport of 68d264059abb21b96c4fe68bf4d99520268a451c from master
2014-04-28 19:07:17 -04:00
Tim Graham
ce6c665f12 [1.5.x] Post release version bump. 2014-04-28 19:01:01 -04:00
James Bennett
c47324b2de [1.5.x] Update version numbers for 1.5.7 bugfix release. 2014-04-28 15:34:35 -05:00
Tim Graham
47a352f84e [1.5.x] Removed bad import in last commit. 2014-04-23 09:15:41 -04:00
Tim Graham
19bd6b9477 [1.5.x] Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054.

Thanks rcoup for the report.

Backport of 3c06b2f2a3 from master
2014-04-23 09:01:38 -04:00
Ray Ashman
2d450cc3e5 [1.5.x] Updated grammar in description of django.contrib.auth.
Backport of 9853779805 from master
2014-04-22 18:29:13 -04:00
Tim Graham
036b2d4f30 [1.5.x] Post release version bump. 2014-04-22 11:49:50 -04:00
James Bennett
a0f60958cf [1.5.x] Add missing disclosure information to security archive. 2014-04-21 18:28:24 -05:00
James Bennett
486b6f398b [1.5.x] Update for 1.5.6 security release. 2014-04-21 17:51:51 -05:00
Erik Romijn
cebfbcdb86 [1.5.x] Added information on resolved security issues to release notes.
Backport of c07f3e60c2d455e36ba4ac339d4283d32bbc3814 from master
2014-04-21 18:31:08 -04:00
Erik Romijn
985434fb1d [1.5.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
This is a security fix. Disclosure will follow shortly.

Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-21 18:31:08 -04:00
Aymeric Augustin
6872f42757 [1.5.x] Prevented leaking the CSRF token through caching.
This is a security fix. Disclosure will follow shortly.

Backport of c083e3815aec23b99833da710eea574e6f2e8566 from master
2014-04-21 18:31:05 -04:00
Tim Graham
2a5bcb69f4 [1.5.x] Fixed a remote code execution vulnerabilty in URL reversing.
Thanks Benjamin Bach for the report and initial patch.

This is a security fix; disclosure to follow shortly.

Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
2014-04-21 18:30:57 -04:00
Matt Lauber
d6c685cc78 [1.5.x] Corrected the section identifier for MySQL unicode reference.
Backport of b2514c02e1 from master
2014-04-21 13:20:56 -04:00
Erik Romijn
1997421f8e [1.5.x] Fixed #22471 -- Corrected misprint in i18n docs
Backport of 54d5c37de6572eae57a66339bb38719e681cee82 from master.
2014-04-18 15:16:43 +02:00
Jordi Yeh
ec2d456df8 [1.5.x] Fixed #22457 -- Fixed contributing guide w/o github set-up
The published commnand was not working when the user did not have
the git client set-up with the public-key. Changed the contributing
guide to clone it from https instead.

Backport of 28102991172ab931d030412275f926c1b05c688d from master
2014-04-16 09:40:32 -04:00
Tim Graham
cbc80eef6d [1.5.x] Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
Thanks zjcheah at yahoo.com for the report.

Backport of 0f37d2e4c0 from master
2014-04-15 17:46:01 -04:00
Tim Graham
5b2d17d910 [1.5.x] Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.
Thanks Josh Kupershmidt.

Backport of c487b1e230 from master
2014-04-10 19:33:50 -04:00
Tim Graham
efb0c848ac [1.5.x] Updated six to 1.6.1.
Backport of 2ec82c7387db071278201796208808de84c90dbf from master
2014-03-24 07:34:37 -04:00
Claude Paroz
468d06077a [1.5.x] Clarified strip_tags documentation
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/

Partial backport (doc-only) of 6ca6c36f82 from master.
2014-03-22 11:14:15 +01:00
Dejan Noveski
b86ff4ee82 [1.5.x] Fixed #22262 -- Added the correct line in the last example of Translator lines
Backport of 958b511a80c01ac010561c8fefe4548203700fa3 from master.
2014-03-13 14:15:48 +01:00
Tim Graham
c888bee836 [1.5.x] Fixed #22062 -- Corrected static files config for Apache >= 2.4
Backport of ffa238c3f7 from master
2014-02-18 09:32:44 -05:00
Ian Foote
4e115af105 [1.5.x] Fix typo CRSF -> CSRF
Backport of af64f829d7 from master
2014-01-29 12:08:55 -05:00
Tim Graham
b55d0ebff2 [1.5.x] Added release note stubs for 1.5.6 and 1.4.11.
Backport of dfa28981ce from master
2014-01-26 17:49:04 -05:00
Tim Graham
682420d108 [1.5.x] Fixed #21823 -- Upgraded six to 1.5.2
Backport of 780ae7e9f8 from master.
2014-01-26 15:48:32 -05:00
Tim Graham
60054e6e31 [1.5.x] Fixed #21869 -- Fixed docs building with Sphinx 1.2.1.
Thanks tragiclifestories for the report.

Backport of e1d18b9d2e from master
2014-01-24 09:05:55 -05:00
James Turley
c539a4490f [1.5.x] Fixed #21824 -- Added reference to LTS in docs/internals/security.txt
Backport of 4d8209431d from master
2014-01-24 08:14:46 -05:00
Tim Graham
169bee85ea [1.5.x] Fixed some punctuation; thanks Chris Jerdonek.
Backport of 81830ce34f from master
2014-01-23 09:05:14 -05:00
Baptiste Mispelon
7517768134 [1.5.x] Always use parentheses when documenting a method with no arguments.
Backport of 05d36dc06e6d767bb28993c65a54b703f319a386 from master.
2014-01-22 23:28:07 +01:00
Baptiste Mispelon
126af8fa7b [1.5.x] Don't show self in the list of arguments of a method.
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].

[1] http://sphinx-doc.org/markup/desc.html#dir-method

Refs #21855.

Backport of 79e1d6ebd70898d514a44b85648e3d24104c4243 from master.
2014-01-22 23:26:05 +01:00
Tim Graham
ebed014950 [1.5.x] Fixed #21726 -- Clarified that password should not be included in REQUIRED_FIELDS.
Thanks russellm for the report.

Backport of 6f06c749b7 from master
2014-01-22 10:19:07 -05:00
Tim Graham
45535c8a4c [1.5.x] Fixed #21834 -- Clarifed usage of template_name in tutorial part 4.
Backport of a292ad1105 from stable/1.6.x
2014-01-20 20:08:59 -05:00
Baptiste Mispelon
0946aac61d [1.5.x] Fixed #20659 -- Fixed PublisherDetail in CBV topic documentation.
Thanks to tudor.prodan, susan, and Tim Graham for the report and reviews.

Backport of 88de53d4a86548016f245a1413b856aa334bc737 from master.
2014-01-20 23:08:03 +01:00
Jacob Kaplan-Moss
267aeabfc7 [1.5.x] Added a note about LTS releases.
Backport of a44cbca2a5f1388c6511dad48443877fa660845a from master.
2014-01-19 18:46:18 +01:00
Tim Graham
f746d1fc74 [1.5.x] Fixed #20052 -- Discouraged use of Jython given the current state of django-jython.
Thanks Josh Juneau (maintainer of django-jython) for the review.

Backport of a67e327db5 from master
2014-01-17 09:29:19 -05:00
Tim Graham
b83dae688e [1.5.x] Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.

Backport of c05b2f58e7 from master
2014-01-16 07:59:18 -05:00
Kevin Wood
a32680407b [1.5.x] Fixed typo in storage docs
Backport of 82f466b571 from master
2014-01-15 18:45:06 -05:00
Tim Graham
1ccfcbe13e [1.5.x] Fixed a sentence in the session security docs; thanks claudep.
Backport of 4d27d311f6 from master
2014-01-03 12:04:23 -05:00
Frank Tobia
ca4cd3fd10 [1.5.x] Fixed typos. Changed grammar.
Backport of 6dd8631617 from master
2014-01-02 16:28:10 -05:00
Nathan Smith
4d05e672bf [1.5.x] Fixed minor typos.
Backport of 44d40ba521 from master
2014-01-02 16:22:26 -05:00
Tim Graham
bbcdfb4d69 [1.5.x] Fixed version number in docs/conf.py
Since there are no more alpha/beta/rcs for 1.5
we can set release=version.
2014-01-01 11:54:04 -05:00
Tim Graham
f20da28297 [1.5.x] Fixed #21708 -- Added some headings to separate unrelated topics.
Thanks ashley at ashleymills.com for the suggestion.

Backport of 270f7e2167 from master
2013-12-30 17:57:47 -05:00
Tim Graham
3cf9ba5fa3 [1.5.x] Fixed #21710 -- Documented User.get_short_name()
Thanks Keryn Knight for the report.

Backport of 0150830687 from master
2013-12-30 17:46:56 -05:00
Tim Graham
66ada281d5 [1.5.x] Fixed #21582 -- Corrected URL namespace example.
Thanks oubiga for the report.

Backport of 025ec2e7fe from master
2013-12-26 20:06:33 -05:00
Tim Graham
fc2c8ee4c8 [1.5.x] Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
Thanks carrie.hazelton at altamiracorp.com for the report.

Backport of e82e7ae1e8 from master
2013-12-25 06:11:25 -05:00
Tim Graham
6980059af2 [1.5.x] Fixed #21613 -- Removed a hardcoded input id from the tutorial.
Thanks Bruno Brouard for the report.

Backport of cc2d960274 from master
2013-12-18 18:37:14 -05:00
Kevin Christopher Henry
6833773775 [1.5.x] Fixed #21632 -- Docs: Removed example with callable as query parameter
Using callables as query parameters is undocumented and not working,
so this changes an example from the ForeignKey.limit_choices_to
documentation that uses it.

Backport of d34c8c338a from master
2013-12-18 12:38:00 -05:00
Alasdair Nicol
e4174da34a [1.5.x] Fixed #21539 -- Added example of modelformset_factory's form argument
Backport of 1fa681ee11 from master
2013-12-14 16:36:27 -05:00
Ben Spaulding
a53820b1b1 [1.5.x] Fixed #21594 -- Added note about model formsets deleting objects.
This behavior has been fixed in 65e03a424e. refs #10284.

Backport of de1d5d5df5 from stable/1.6.x.
2013-12-11 14:43:44 -05:00
Aymeric Augustin
deeed42253 [1.5.x] Fixed #21558 -- Support building CHM files.
Thanks Michał Pasternak.

Backport of cd9e85ec from master.
2013-12-04 16:52:04 +01:00
Alasdair Nicol
86c5115cad [1.5.x] Fixed #21538 -- Added numpy to test/requirements/base.txt
Thanks Tim Graham for the report

Backport of c75dd664c from master
2013-12-02 13:41:18 -05:00
Baptiste Mispelon
0e98050847 [1.5.x] Fixed #21515 -- Corrected example of template.Context in documentation.
Thanks to trac user oubiga for the report.

Backport of 077af42139db84d88f293ab5eadc989a9169dce1 from master.
2013-11-28 01:00:32 +01:00
Ludwik Trammer
e19506d14e [1.5.x] Fixed #21507 -- Corrected default widget information for FileField
Backport of 70e61310d6 from master
2013-11-25 08:27:35 -05:00
Tim Graham
c0c7795562 [1.5.x] Fixed typo in previous commit; refs #21490.
Backport of 03bc0a8ac5 from master
2013-11-24 16:29:14 -05:00
Tim Graham
0934894976 [1.5.x] Fixed #21490 -- Fixed custom admin URL reverse example.
Thanks glarrain for the report.

Backport of bfe7377adb from master
2013-11-24 15:19:39 -05:00
Aymeric Augustin
01fed9c258 Removed obsolete deprecation notes. 2013-11-23 14:47:41 +01:00
Baptiste Mispelon
0bb05f6b92 [1.5.x] Fix #20054: Removed links to modwsgi.org.
Backport of 957fcd0c9fc605bbb69e03296aede3b0bac5a8d2 from master.
2013-11-22 09:15:37 +01:00
Baptiste Mispelon
ed8814b24a Fixed #21468 -- Removed a ModelForm bit that doesn't apply to 1.5.x.
The bit was incorrectly backported with 3860d5e8f814e26baf4deee9258392cd34a4b456.

Thanks to trac user direx for the report and to Loic Bistuer
for his help.
2013-11-20 10:52:49 +01:00
Dražen Lučanin
2fb6dbe81d [1.5.x] Recommended setuptools in the reuseable app tutorial.
setuptools has merged with distribute.

Backport of b5eef8535a from master.
2013-11-19 16:24:42 -05:00
Rocky Meza
af16a35ff4 [1.5.x] Fixed the base class note in the Date Views docs.
Backport of 42197e31aa from master
2013-11-19 10:33:28 -05:00
Baptiste Mispelon
f89cddae66 Fixed missing imports from 16e5fdd9cb8cca4d203b9255a9771b3c370e37d6. 2013-11-19 10:50:20 +01:00
Tim Graham
1135525eac [1.5.x] Fixed typo in topics/http/sessions.txt.
Backport of 9348fc5628 from master
2013-11-18 19:11:37 -05:00
Tim Graham
402967f49c [1.5.x] Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.
Thanks marcin at sokrates.pl.

Backport of ba63b9895b from master
2013-11-18 09:35:21 -05:00
Tim Graham
b41540f156 [1.5.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt
Thanks alasdair.

Backport of d011714002 from master
2013-11-15 10:22:55 -05:00
Tim Graham
47b6a7c354 [1.5.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt
Thanks olof.bjarnason at gmail.com for the report.

Backport of 6e9e6ca071 from master
2013-11-15 07:11:12 -05:00
Matt Robenolt
16e5fdd9cb [1.5.x] Propagate get_user_model exception from get_user
Fixes #21439

Backport of 3560ef04 from master.

Conflicts:
	django/contrib/auth/tests/auth_backends.py
2013-11-14 21:19:03 +01:00
Baptiste Mispelon
8d1f339667 [1.5.x] Removed a mention of Form._errors from the documentation.
Also removed a sentence that was incorrect: raising a
`ValidationError` inside `Form.clean` doesn't clear the
`cleaned_data` attribute.

Thanks to loic84 and timograham for the review.

Backport of 9aa6d4bdb6618ba4f17acc7b7c0d1462d6cbc718 and
0048ed77c7016a03aed6dbc255a6372f3df2ccd5 from master.
2013-11-12 21:05:06 +01:00
Bernardo Pires
12ff1623d6 [1.5.x] Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.

Thanks to Salvatore for the report.

Backport of 8bc350b38516d8c3a14aed113dd3402b9375b75c from master.

Conflicts:
	docs/topics/i18n/translation.txt
2013-11-10 00:09:02 +01:00
glts
1669a438a9 [1.5.x] Added missing parameter in npgettext_lazy docs
Backport of 413307fe35 from master
2013-11-08 18:35:52 -05:00
Tim Graham
88639d3f7b [1.5.x] Fixed broken link for TestCase.multi_db. 2013-11-07 09:49:19 -05:00
Tim Graham
2d09f368f3 [1.5.x] Added 1.4.10 release notes.
Backport of c29dd76f40 from master
2013-11-07 09:42:52 -05:00
Sylvain Bellemare
376ba1c5b3 [1.5.x] Removed no longer relevant word
Backport of 3935b0f263 from master
2013-11-07 09:33:10 -05:00
Tim Graham
2e881f15b8 [1.5.x] Fixed spelling ("dependant" -> "dependent")
Dependent means reliant on.
A dependant is a person like a child or spouse.

Thanks Andrew Wilcox for the report.

Backport of 090315f5df from master
2013-11-01 21:32:10 -04:00
Sylvain Bellemare
9d23c3d03d [1.5.x] Fixed typo -- "a" user, not "an" user
Backport of c7dabe49dd from master
2013-11-01 19:29:15 -04:00
Claude Paroz
60ec8ae4b2 [1.5.x] Fixed #21364 -- Specified InnoDB full-text support from MySQL 5.6.4 on
Thanks thevlad at gmail.com for the report.
Backport of 89116cf24a from master.
2013-11-01 11:02:48 +01:00
Claude Paroz
dd0c204828 [1.5.x] Fixed #21359 -- Corrected MySQL collation name in databases docs
Thanks k_sze for the report.
Backport of 67c6c1a7c from master.
2013-11-01 10:47:29 +01:00
Tim Graham
3ec994de2a [1.5.x] Fixed #21294 -- Clarified the logout next_page argument.
Thanks wim at go2people.nl for the report.

Backport of 51e6575472 from master
2013-10-30 09:26:39 -04:00
Antoine Catton
e21d935f52 [1.5.x] Documented the limitation on sep argument to Signer
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>

Backport of e9a356a695 from master
2013-10-30 08:27:23 -04:00
Tim Graham
f832f0d2c3 [1.5.x] Fixed #21316 -- Documented that modifying safe strings makes them unsafe.
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.

Backport of 1edef50880 from master
2013-10-30 08:12:19 -04:00
Tim Graham
9074d2f5f9 [1.5.x] Fixed #21337 -- Documented removal of django.core.servers.basehttp.WSGIServerException
refs 2ca00faa913754cd5860f6e1f23c8da2529c691a

Backport of b47a052eb5 from master
2013-10-30 07:48:16 -04:00
Claude Paroz
3b4b376bd1 Revert "[1.5.x] Fixed #21335 -- Use importlib from python3 when using python3"
This reverts commit 1ef737416ab56a6becee36876769909a37541465.
This would require changing some import_module calls (relative
syntax, see ec0a3f50852), too much for a stable release.
2013-10-26 23:36:16 +02:00
Andrey Antukh
1ef737416a [1.5.x] Fixed #21335 -- Use importlib from python3 when using python3
Backport of 3351e94ffa from master.
2013-10-26 22:57:56 +02:00
Tim Graham
4b4b795bd5 [1.5.x] Fixed #21325 -- Added missing argument to permission_required decorator.
Backport of cc2049cdd7 from master
2013-10-25 17:37:46 -04:00
Paolo Melchiorre
cd59b6f2f3 [1.5.x] Fixed typo in docs/releases/1.4.9.txt.
Backport of 3b0293370a from master
2013-10-25 07:55:45 -04:00
Tim Graham
7aebbc1632 [1.5.x] Bump version post-release. 2013-10-25 07:53:39 -04:00
James Bennett
c30516e9cc [1.5.x] Bump everything for 1.5.5 bugfix release. 2013-10-24 23:31:51 -05:00
Tim Graham
f571345ef7 [1.5.x] Bumped release date for 1.5.5 & 1.4.9.
Backport of 4ce5c119b5 from master
2013-10-23 18:29:16 -04:00
Shai Berger
cc0dcfc644 Fixed #13245: Explained Oracle's behavior w.r.t db_table
and how to prevent table-name truncation

Thanks russellm & timo for discussion, and timo for review.

Backported from master 317040a73b77be8f8210801793b2ce6d1a69301e
2013-10-23 15:04:14 +03:00
Tim Graham
6e41392838 [1.5.x] Added 1.5.5 and 1.4.9 release notes
Backport of 2eb8f15516 from master
2013-10-22 20:24:30 -04:00
Tim Graham
26d1496f90 [1.5.x] Fixed #21304 -- Typo in docs/topics/testing/advanced.txt
Thanks joao at silvaneves.org for the report.

Backport of 9704c49d59 from master
2013-10-22 12:06:20 -04:00
Tim Graham
ed67184b30 Oracle defer test failure; refs #16436.
Oracle doesn't like grouping by TextField, so use CharFields instead in
models.

Backport of 728d3fe1bac6b5f23dbd088e11860cfba51cf7b5 from master
2013-10-21 18:56:25 -04:00
Florian Apolloner
166be6a77e [1.5.x] Fixed #21253 -- PBKDF2 with cached HMAC key
This gives a 2x speed increase compared to the existing implementation.

Thanks to Steve Thomas for the initial patch and Tim Graham for finishing it.

Backport of 1e4f53a6eb8d1816e51eb8bd8f95e704f6b89ead from master.
2013-10-21 20:01:39 +02:00
Riccardo Magliocchetti
045d192222 [1.5.x] Fixed #21296 -- Added docs for PostgreSQL and unix domains sockets.
Backport of 1e39982b6e from master
2013-10-21 13:10:51 -04:00
Juergen Schackmann
8ffa99ccb6 [1.5.x] Fixed #21212 -- Documented the reverse name for OneToOneField.
Thanks bjb at credil.org for the report.

Backport of f8632572ad from master
2013-10-18 16:22:47 -04:00
Tim Graham
472917024b [1.5.x] Added a warning regarding session security and subdomains.
Backport of a3372f67cb from master
2013-10-18 09:44:34 -04:00
Tim Graham
0fb2897c81 [1.5.x] Fixed bug causing CSRF token not to rotate on login.
Thanks Gavin McQuillan for the report.

Backport of ac4fec5ca2 from master
2013-10-18 08:33:07 -04:00
Tianyi Wang
312ca5e9cb [1.5.x] Improvement on InlineFormSet doc, refs #21006
Backport of 944a2bb7c1 from master
2013-10-15 09:58:57 -04:00
Tianyi Wang
1acd5fc9d2 [1.5.x] Fixed #21006 -- Added example code for overriding methods on an InlineFormSet.
Thanks treysta at gmail.com for the suggestion.

Backport of 9bfe66164e from master
2013-10-15 07:37:51 -04:00
Sorcha Bowler
6e7de2edb0 [1.5.x] Fixed #21223 -- Added form.id_for_label to topic guide.
Thanks ebertti at yahoo.com.br for the suggestion.

Backport of 018e2c055a from master
2013-10-14 18:43:48 -04:00
Bouke Haarsma
7f62d794b3 [1.5.x] Fixed #20962 -- Documented that template tag render() may raise exceptions.
Thanks Keryn Knight for the report.

Backport of e077224f4a from master
2013-10-14 11:55:15 -04:00
Bouke Haarsma
5c1be8a870 [1.5.x] Fixed #21210 -- Documented when runserver doesn't auto-restart.
Thanks gergely at polonkai.eu for the suggestion.

Backport of 9b7d38ed5a from master
2013-10-14 10:38:34 -04:00
Bouke Haarsma
b268488806 [1.5.x] Fixed #21264 -- Incorrect RST usage in docs
Backport of 8fc63087f6 from master
2013-10-14 08:17:00 -04:00
Max Vizard
e532d1e38f [1.5.x] Fixed #21027 -- Updated tutorial 5 docs to link to management shell command page.
Backport of 13ddf0e002 from master
2013-10-14 08:10:55 -04:00
Aymeric Augustin
ef9133768c [1.5.x] Fixed #21256 -- Error in datetime_safe.datetime.combine.
Backport of d9b6fb8 from master
2013-10-13 19:11:53 +02:00
Aymeric Augustin
2fb127b881 Fixed #21261 -- Added missing import in RedirectView docs
Thanks yokomizor.
2013-10-13 19:00:55 +02:00
Tim Graham
2b8519760e [1.5.x] Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.
Thanks slinkp for the suggestion.

Backport of dd839a2dfd from master
2013-10-11 20:12:55 -04:00
Cody Scott
766fbd53cb [1.5.x] Minor edits to docs/topics/db/queries.txt.
Backport of 8bfc7cc64c from master
2013-10-11 15:35:52 -04:00
Cody Scott
3e6d895912 [1.5.x] Small improvements to docs/topics/db/models.txt
Backport of 695bc0d191 from master
2013-10-10 20:57:20 -04:00
Anssi Kääriäinen
9f8a36eb20 [1.5.x] Fixed #21248 -- Skipped test_bcrypt if no py-bcrypt found
Pre 1.6 Django worked only with py-bcrypt, not with bcrypt. Skipped
test_bcrypt when using bcrypt to avoid false positives.
2013-10-09 14:40:32 +03:00
Tai Lee
b495c24375 [1.5.x] Fixed #16436 -- defer + annotate + select_related crash
Correctly calculate the ``aggregate_start`` offset from loaded fields,
if any are deferred, instead of ``self.query.select`` which includes all
fields on the model.

Backpatch of 69f7db153d8108dcef033207d49f4c80febf3d70 from master.
2013-10-09 13:55:32 +03:00
Dan Loewenherz
f8393edb52 [1.5.x] Fix grammatical errors in email documentation
Backport of 43f213e475 from master
2013-10-08 20:30:50 -04:00
Tim Graham
67d887fbae [1.5.x] Fixed #21218 -- Typo on docs/howto/upgrade-version.txt
Thanks ryan at ryangallen.com for the report.

Backport of 36e220f923 from master
2013-10-03 20:14:07 -04:00
Tim Graham
1f63061060 [1.5.x] Clarified session replay attack differences with cookie backend.
Backport of 00a0d3de02 from master
2013-10-02 10:15:42 -04:00
Michael Manfre
7ebd10019d [1.5.x] Fixed #21203 -- resolve_columns fields misalignment
In queries using .defer() together with .select_related() the values
and fields arguments didn't align properly for resolve_columns().

Backpatch of 8c27247397cf16b17d0153ae059593c5a468de01 from master.
2013-10-01 21:34:39 +03:00
Tim Graham
997a332cbb [1.5.x] Fixed #21180 -- Additional deprecation notes for databrowse.
Thanks einsteiger for the suggestion.
2013-10-01 10:21:04 -04:00
Curtis Maloney
20f394f4d5 [1.5.x] Fixed #21154 -- Updated TemplateResponse docs to better explain context.
Thanks mrmachine for the report.

Backport of c39c9f2ad8 from master
2013-09-30 10:21:40 -04:00
Baptiste Mispelon
73ffe26816 [1.5.x] Fix #21185: Added tests for unescape_entities.
Also fixed a py3 incompatibility.
Thanks to brutasse for the report.

Backport of 3754f4ad410640382f9fe25073da03009cdc2ea3 from master.
2013-09-27 18:45:26 +02:00
Aymeric Augustin
cb95516a88 [1.5.x] Updated the bundled version of six to 1.4.0.
Backport of 4292097078279226cb725c2921011fb14634b9af from master.
2013-09-27 18:44:49 +02:00
Anssi Kääriäinen
b7e5b5ba1e [1.5.x] Fixed #21126 -- QuerySet value conversion failure
A .annotate().select_related() query resulted in misaligned rows vs
columns for compiler.resolve_columns() method.

Report & patch by Michael Manfre.

Backpatch of 83554b018ef283827c0e7459ab934d447b3419d5 from master.
2013-09-25 20:53:00 +03:00
Baptiste Mispelon
43ab759ce3 [1.5.X] Fixed wording in unit tests documentation.
Backport of 42b9feb2e79546e1d4362c3a4f0043f3c569ace3 from master.
2013-09-25 18:32:07 +02:00
Florian Apolloner
f3853172a4 [1.5.x] Fixed #21138 -- Increased the performance of our PBKDF2 implementation.
Thanks go to Michael Gebetsroither for pointing out this issue and help on
the patch.

Backport of 68540fe4df44492571bc610a0a043d3d02b3d320 from master.
2013-09-24 21:14:30 +02:00
Florian Apolloner
1cc572a071 Revert "[1.5.x] Ensure that passwords are never long enough for a DoS."
This reverts commit 22b74fa09d7ccbc8c52270d648a0da7f3f0fa2bc.

This fix is no longer necessary, our pbkdf2 (see next commit) implementation
no longer rehashes the password every iteration.
2013-09-24 21:12:25 +02:00
Tim Graham
de8715ca97 [1.5.x] Fixed #21137 -- Corrected ULRconf include example.
Thanks marfire for the report.

Backport of 77f6b468e5 from master
2013-09-24 09:41:44 -04:00
Brett Koonce
13aff91ae7 [1.5.x] Removed extra p (topppings->toppings)
Backport of 946a2226ea from master
2013-09-23 19:25:19 -04:00
Tim Graham
959adcc1de [1.5.x] Removed implication that six is part of Python stdlib.
Backport of 45969bdeb5 from master
2013-09-23 18:30:23 -04:00
Daley Chetwynd
c695f293e3 [1.5.x] Fixed #20830 -- Clarified that Django uses a customized version of six.
Thanks glarrain for the suggestion.

Backport of a53caf28bf from master
2013-09-23 11:07:40 -04:00
Ben Huckvale
a722dfda93 [1.5.x] Fixed #21120 -- Added more explicit text on using validators and link to writing validators.
Thanks nicolas at niconomicon.net for the suggestion.

Backport of 98e0453f00 from master
2013-09-23 10:40:27 -04:00
Tim Garner
938d98c8d1 [1.5.x] Fixed #21702 -- Added different bullet styles for nested lists.
Thanks moc at mocpa.com for the suggestion.

Backport of c81b6f7b83 from master
2013-09-23 07:40:07 -04:00
Florian Apolloner
1fa8c612fc [1.5.x] Stopped a test from executing queries at the module level.
Currently module level queries are executed against the real database
(specified in NAME) instead of the test database; since it is to late
to fix this for 1.6, we at least ensures stable builds. Refs #21443.

Backport of 4fcc1e4ad8d153f41132b171c231b6d5d4086c28 from master.
2013-09-22 23:07:54 +02:00
Florian Apolloner
18fe77e4ed [1.5.x] Fixed "Address already in use" from liveserver.
Our WSGIServer rewrapped the socket errors from server_bind into
WSGIServerExceptions, which is used later on to provide nicer
error messages in runserver and used by the liveserver to see if
the port is already in use. But wrapping server_bind isn't enough since
it only binds to the socket, socket.listen (which is called from
server_activate) could also raise "Address already in use".

Instead of overriding server_activate too I chose to just catch socket
errors, which seems to make more sense anyways and should be more robust
against changes in wsgiref.

Backport of 2ca00faa913754cd5860f6e1f23c8da2529c691a from master
2013-09-22 22:08:59 +02:00
Ramiro Morales
b5eddde095 [1.5.x] Reference Meta.index_together in DB performance guide.
9dc45efeba from master.
2013-09-22 14:07:36 -03:00
Ramiro Morales
8e51bea4fb [1.5.x] Fixed a couple of typos in GeoDjango docs.
8b366a50f4 from master.
2013-09-22 14:07:14 -03:00
mlissner
177270ea73 [1.5.x] Correct very minor typo
Just changed as to has.

Backport of d8f2d940cc from master
2013-09-21 18:18:46 -04:00
Michael DiBernardo
61b685847e [1.5.x] Fixed #21137 -- Documented best practice for URLconfs with repeated pattern prefixes.
Backport of 222460a994 from master
2013-09-21 18:18:26 -04:00
Curtis Maloney
b8e7730f3e [1.5.x] Fixed #21133 -- Clarifed documentation about strftime formatting.
Backport of 43a2ec7999 from master
2013-09-21 06:56:17 -04:00
Markus Amalthea Magnuson
b541cf24d0 [1.5.x] Added missing "in" in sentence.
Backport of 2c5c422d34 from master
2013-09-19 13:29:56 -04:00
Tim Graham
1ef9a296da [1.5.x] Added __pycache__ to gitignore
Backport of 55b9bff07f from master
2013-09-19 06:38:01 -04:00
Russell Keith-Magee
75c0aa43d3 [1.5.x] Fixed #21121: Added archive of security issues.
Backport of 9d3e60a, 8e134c2, 8b3bae9, c65ae7c, bbabc53,
and a2e25e8 from master.
2013-09-19 15:07:29 +08:00
Florian Apolloner
87c8de2a06 Revert "[1.5.x] Silenced last sporadic failure on 1.5."
This reverts commit 6a708cd654fe63278ea8a14b3e44da847c62ebf4.

Reverted since it only moved the failures to some other tests and it apperently
only worked by accident. Patched selenium for now to include:
https://github.com/SeleniumHQ/selenium/pull/118
which seems to be the root cause for sporadic extra requests to the live server,
which then cause all sorts of issues.
2013-09-18 16:54:30 +02:00
Tim Graham
72f7932cfb [1.5.x] Fixed #21118 -- Isolated a test that uses the database.
Thanks rmboggs for the report.

Backport of 4f40b97d97 from master
2013-09-18 09:43:34 -04:00
Florian Apolloner
6a708cd654 [1.5.x] Silenced last sporadic failure on 1.5.
This commit is a last resort; technically the test is correct but our testsuite
has some threading issues when LiveServer is used. Since this will never get
fixed in 1.5 and apperently doesn't get triggered on 1.6 we just make sure the
test doesn't error out. I am not 100% sure why this actually fixes the issue,
but this is still better than having failing builds wheneever we do a security
release for 1.5.

(Tested on jenkins itself, should work (tm)).
2013-09-17 22:33:11 +02:00
Florian Apolloner
3c3b3fc10b [1.5.x] Final attempt to solve sporadic test failures.
tearDownClass is not called if setUpClass throws an exception, in our case
this means that LiveServerTestCase leaks LiveServerThread sockets if the
test happens to be skipped later on, and AdminSeleniumWebDriverTestCase
doesn't close it's already open browser window. To prevent this leakage
we catch errors where needed and manually call _tearDownClassInternal.
_tearDownClassInternal should be written as defensively as possible since
it is not allowed to make any assumptions on how far setUpClass got.

This patch should fix the sporadic "Address already in use"-errors on jenkins
and also the "This code isn't under transaction management"-error for sqlite
(also just on jenkins).

After discussion with koniiiik, jezdez, kmtracey, tos9, lifeless, nedbat and
voidspace it was decided that this is the safest approach (thanks to everyone
for their comments and help). Manually calling tearDownClass was shut down
cause we don't know how our users override our classes.

This is a private and very specialized API on purpose and should not be used
without a strong reason!

This patch partially reverts the earlier attempts to fix those issues,
namely:
	2fa0dd73b18f55d0fdd1c1d54b1d18031bfcf1ed and
	3c5775d36f7e431d9691829a78580873111cb714

Final note: If this patch breaks in a later version of Django, please be
very careful on how you fix it, you might not see test failures locally.
That said, this patch hopefully doesn't produce even more failures.

Backport of 73a610d2a81bc3bf2d3834786b2458bc85953ed0 from master.
2013-09-17 18:42:19 +02:00
Ramiro Morales
efcf4d2bd9 [1.5.x] Reworded a paragraph in the logging docs.
9d12f68a53 from master.
2013-09-16 17:53:02 -03:00
Tim Graham
12a30e9221 [1.5.x] Cleaned up 1.5.4/1.4.8 release notes
Backport of 8d29005524 from master
2013-09-15 14:25:34 -04:00
Tim Graham
ae5f4a04b4 [1.5.x] Bump version post-release. 2013-09-15 12:59:53 -04:00
Florian Apolloner
4770fc1c62 [1.5.x] (Hopefully) fixed a failure in a selenium test.
No forward port to 1.6 since it has new transactionmanagement. The
wait_page_loaded should ensure that the liveserver has time to tear
down properly after the submit.
2013-09-15 10:44:29 +02:00
James Bennett
4607c7325d [1.5.x] Add release notes and bump version numbers for 1.5.4 security release. 2013-09-15 00:29:31 -06:00
Russell Keith-Magee
22b74fa09d [1.5.x] Ensure that passwords are never long enough for a DoS.
* Limit the password length to 4096 bytes
  * Password hashers will raise a ValueError
  * django.contrib.auth forms will fail validation
 * Document in release notes that this is a backwards incompatible change

Thanks to Josh Wright for the report, and Donald Stufft for the patch.

This is a security fix; disclosure to follow shortly.

Backport of aae5a96d5754ad34e48b7f673ef2411a3bbc1015 from master.
2013-09-15 13:48:15 +08:00
Minjong Chung
e66fe357b2 Fixed #21102 -- pickling a QuerySet with prefetches twice
Fixed the bug that a QuerySet that prefetches related objects cannot be
pickled and unpickled more than once (The second pickling attempt
raises an exception).

Added a new test for the queryset pickling idempotency.

The bug was introduced by
bac187c0d8e829fb3ca2ca82965eabbcbcb6ddd5.
2013-09-14 10:03:03 +03:00
Goetz
dbc2e8eb73 [1.5.x] Fixed #21101 -- Updated urlize documentation to mention email addresses
Backport of 39b49fd339 from master
2013-09-13 12:42:47 -04:00
Tim Graham
61de57260b [1.5.x] Fixed #18923 -- Corrected usage of sensitive_post_parameters in contrib.auth
Thanks Collin Anderson for the report.

Backport of 425d076d0c from master
2013-09-13 09:40:15 -04:00
Tim Graham
7cfb5243f1 [1.5.x] Fixed #21094 -- Updated reuseable apps tutorial to use pip for installation.
Thanks ylb415 at gmail.com for the suggestion.

Backport of e4aab1bb8d from master
2013-09-13 09:30:20 -04:00
Kevin Christopher Henry
61867e226d [1.5.x] Documentation -- added instructions on working with pull requests
Since non-core contributors are asked to review patches, instructions
on working with pull requests were added to the Working with Git and
GitHub page (based on the existing instructions in the core
committers page).

Backport of 990ce9aab9 from master
2013-09-13 08:27:28 -04:00
Tim Graham
169594f5ae [1.5.x] Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.
Thanks EvilDMP for the report and Russell Keith-Magee
for the draft text.

Backport of da843e7dba from master
2013-09-11 08:18:52 -04:00
Kevin Christopher Henry
2a7d3030f9 [1.5.x] Documentation -- Improved description of cache arguments
- Fixed some grammar and formatting mistakes
- Added the type and default for CULL_FREQUENCY
- Made the note on culling the entire cache more precise. (It's actually
  slower on the filesystem backend.)

Backport of 5eca021d48 from master
2013-09-11 07:43:29 -04:00
Tim Graham
91a073a337 [1.5.x] Bump version post-release. 2013-09-11 07:04:04 -04:00
James Bennett
0a34f39759 [1.5.x] Bump version numbers for 1.5.3 security release. 2013-09-10 20:25:27 -05:00
Tim Graham
42e8fabb59 [1.5.x] Added 1.4.7/1.5.3 release notes
Backport of baec6a26dd from master
2013-09-10 21:08:34 -04:00
Tim Graham
988b61c550 [1.5.x] Prevented arbitrary file inclusion with {% ssi %} tag and relative paths.
Thanks Rainer Koirikivi for the report and draft patch.

This is a security fix; disclosure to follow shortly.

Backport of 7fe5b656c9 from master
2013-09-10 21:05:03 -04:00
oz123
693ebff1a4 [1.5.x] Fixed #21075 - Improved doc for calling call_command with arguments.
Backport of fca4c4826e from master
2013-09-10 09:18:20 -04:00
Садовский Николай
aa50b7e837 [1.5.x] Fixed #20707 -- Added explicit quota assignment to Oracle test user
To enable testing on Oracle 12c
2013-09-09 13:07:39 +03:00
Tim Graham
9d3a66aa9f [1.5.x] Fixed #20005 -- Documented that Oracle databases need execute permission on SYS.DBMS_LOB.
Thanks jafula for the suggestion.

Backport of a86ecc80a2 from master
2013-09-07 14:01:10 -04:00
Keith Edmiston
37587624bf [1.5.x] Fixed #16992 -- Added InnoDB warning regarding reuse of AUTO_INCREMENT values.
Thanks kent at nsc.liu.se for the report.

Backport of c54fa1a7bc from master
2013-09-07 12:17:01 -04:00
Keith Edmiston
afc624cab0 [1.5.x] Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
Backport of 028db97503 from master
2013-09-06 17:31:04 -04:00
Tim Graham
5d029f2222 [1.5.x] Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDS
Thanks craigbruce.

Backport of db3de52807 from master
2013-09-06 16:06:51 -04:00
micahhausler
e62f391022 [1.5.x] Fixed #21047 -- Added CLA mesage on the new contributor advice doc
Backport of 93dd31cadf from master
2013-09-05 17:55:09 -04:00
Tim Graham
d6b11b0abb [1.5.x] Fixed #20900 -- Documented RemoteUserBackend.authenticate
Backport of 7b62b80693 from master
2013-09-05 06:32:55 -04:00
Claude Paroz
406fd9f97f Fixed #19211 -- Adapted tutorial for Python 3
Backport of 7cc3acbb7 from master.
2013-09-05 08:53:24 +02:00
Tim Graham
8f4552adf1 [1.5.x] Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed in forms.
Thanks marky1991.

Backport of 533d1ab334 from master
2013-09-04 13:19:46 -04:00
Tim Graham
bc78ffa270 [1.5.x] Fixed #21002 -- Documented JSON session serialization requires string keys
Thanks jeroen.pulles at redslider.net for the report.

Backport of 3baf1d1042 from master.
2013-09-04 10:55:33 -04:00
Loic Bistuer
c9a021b042 [1.5.x] Made the doc about translating string literals in templates more prominent.
Backport of 9885f07757 from master
2013-08-31 09:52:49 -04:00
Jorge C. Leitão
6f44ef16cb [1.5.x] Added links to file docs.
Backport of d72f83c410 from master
2013-08-29 12:49:32 -04:00
Phaneendra Chiruvella
50d9bed1d5 [1.5.x] Minor spelling correction in ModelForms docs
Backport of 2fbf949760 from master
2013-08-28 07:12:43 -04:00
Krzysztof Jurewicz
d3b7b6a7a4 [1.5.x] Fixed #20981 -- Noted the default value of disable_existing_loggers.
Backport of 095643e691 from master
2013-08-27 10:27:49 -04:00
Jan Böcker
98635f2a0e [1.5.x] Fixed typo in docs/topics/conditional-view-processing.txt
Backport of 5fd2c979cb from master
2013-08-27 09:22:51 -04:00
Ramiro Morales
5547ba743c [1.5.x] Typos introduced in 57c82f909b. 2013-08-22 22:35:10 -03:00
Tim Graham
616a4d385a [1.5.x] Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.

Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.

Backport of b0ce6fe656 from master
2013-08-22 17:49:11 -04:00
Kevin Christopher Henry
1b236048b9 [1.5.x] Documentation -- Clarified use of 'view' in test client introduction.
Backport of 2e926b041c from master
2013-08-22 09:39:21 -04:00
Marc Tamlyn
3b32b1544f [1.5.x] Fixed #20944 -- Removed inaccurate statement about View.dispatch().
Backport of bac4d03ce6 from master
2013-08-22 09:21:41 -04:00
Ramiro Morales
9a7d59e8c7 [1.5.x] Made description of LANGUAGE_CODE setting more clear.
297f5af222 from master.
2013-08-22 08:34:19 -03:00
Kevin Christopher Henry
bbe2ad3e38 [1.5.x] Documentation - Noted that OneToOneField doesn't respect unique.
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-20 21:21:40 -07:00
Aymeric Augustin
adf70506b9 [1.5.x] Fixed a rest mistake I introduced in d5ce2ff.
Backport of 753edfa4b5 from master
2013-08-15 13:09:28 -04:00
Erik Romijn
2b750fff56 [1.5.x] Fixed #20444 -- Cookie-based sessions does not include a remote code execution-warning
Backport of d5ce2ff5e4 from master
2013-08-15 12:21:14 -04:00
Tim Graham
cb2fee567f [1.5.x] Fixed link in 1.5.2 release notes 2013-08-14 13:11:58 -04:00
Tim Graham
3a829bf75a [1.5.x] Added some doc links for django.contrib.messages
Backport of b6178fa24b from master
2013-08-14 13:05:30 -04:00
Jacob Kaplan-Moss
f24ae3373b Bump version post-release. 2013-08-13 12:17:27 -05:00
Tim Graham
5fdd6af1eb Added 1.4.6/1.5.2 release notes. 2013-08-13 11:17:17 -05:00
Jacob Kaplan-Moss
bebbb611a8 Bumped version numbers for 1.5.2. 2013-08-13 11:10:05 -05:00
Jacob Kaplan-Moss
90363e388c Apply autoescaping to AdminURLFieldWidget.
This is a security fix; disclosure to follow shortly.
2013-08-13 11:04:21 -05:00
Jacob Kaplan-Moss
1a274ccd6b Fixed is_safe_url() to reject URLs that use a scheme other than HTTP/S.
This is a security fix; disclosure to follow shortly.
2013-08-13 11:03:49 -05:00
Tim Graham
a2286ac964 [1.5.x] Added missing release notes for older versions of Django
Backport of 3f6cc33cff from master
2013-08-12 14:10:21 -04:00
Tim Graham
9e2a2c491b [1.5.x] Fixed #20890 -- Added missing import in class-based view docs.
Thanks André Augusto.

Backport of ab680725bf from master
2013-08-10 18:08:33 -04:00
Tim Graham
12edced1de [1.5.x] Fixed #20868 -- Added an email to django-announce as a security step.
Thanks garrison for the report.

Backport of 5737c57d95 from master
2013-08-09 16:02:57 -04:00
Tim Graham
70cf70ad21 [1.5.x] Added an anchor for django.forms.Form.clean in docs
Backport of 8442268869 from master
2013-08-08 14:14:20 -04:00
Jaime Irurzun
d8dc2b123d [1.5.x] Clarified meaning of models.User.is_authenticated()
Backport of f96fe3cd1e from master
2013-08-08 10:27:48 -04:00
Daniele Procida
bf55bbdcb5 [1.5.x] Added more on @cached_property, refs #20870
Backport of 7e6af9d40c from master
2013-08-08 09:47:30 -04:00
Tim Graham
6cf33d49d1 [1.5.x] Removed a ModelForm doc section that doesn't apply to 1.5.x 2013-08-08 06:29:15 -04:00
Daniele Procida
e8ea55212b [1.5.x] Fixed #20870 -- Documented django.utils.functional.cached_property
Backport of 7a2296eb5b from master
2013-08-08 05:36:57 -04:00
Leandro Regueiro
d4c19a6e7e [1.5.x] Added section labels in cache docs
Backport of 709cd2c4b7 from master
2013-08-06 11:56:38 -04:00
Julien Phalip
fcc8381505 [1.5.x] Fixed a small formatting issue.
Backport 0b071ba7df7394b9 of from master.
2013-08-04 17:31:42 -07:00
Tim Graham
56d56d55b1 [1.5.x] Fixed #20860 -- Removed references to defunct chicagocrime.org
Backport of 1593a86494 from master
2013-08-04 14:46:45 -04:00
Daniele Procida
bc33fef90a [1.5.x] Fixed #20842 and #20845 - Added a note on order_by() and improved prefetch_related() docs.
Backport of e8183a8193 from master
2013-08-04 12:36:29 -04:00
Justin Michalicek
145e0a14f0 [1.5.x] Fixed #20855 -- Added documentation of current_app and extra_context params to django.contrib.auth views
refs #5298 and refs #8342

Backport of 61ecb5f48a from master.
2013-08-04 08:07:11 -04:00
Alasdair Nicol
f4806e3ef6 [1.5.x] Added missing request argument to example in URL dispatcher docs
Backport of a0c58113b9 from master
2013-08-03 19:36:30 -04:00
Tim Graham
f2969c7e02 [1.5.x] Added a bugfix in docutils 0.11 -- docs will now build properly.
Backport of a3a59a3197 from master
2013-07-31 09:26:23 -04:00
SusanTan
72fb37f9fd [1.5.x] Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498.
Thanks CollinAnderson for the report.

Backport of 7de35a9ef3 from master
2013-07-31 07:09:45 -04:00
Anssi Kääriäinen
bf4c8d8c98 [1.5.x] Fixed qs ordering related randomly failing test
The failure wasn't present in 1.6+, so this is not a backpatch.
2013-07-29 14:28:41 +03:00
minusf
b5ac25dc0c [1.5.x] Misc doc cleanups.
Backport of 70c080fcdb from master
2013-07-29 07:06:34 -04:00
minusf
f8e6434912 [1.5.x] Allowed overriding variables in docs/Makefile.
Backport of c694e6220e from master
2013-07-29 06:52:50 -04:00
Jannis Leidel
02ac44b29a [1.5.x] Fixed #20774 -- Mention the new django-localflavor app as a replacement for the contrib app. Backport from master. 2013-07-29 10:55:50 +02:00
Tim Graham
f17c2026cf [1.5.x] Fixed ReST typo in topics/class-based-views/mixins.txt
Backport of 0b35a2cce3 from master
2013-07-28 14:10:25 -04:00
Florian Apolloner
88ddb93a8a [1.5.x] Removed comment from setup.cfg which broke newer wheel versions.
Backport of b5f709e6f4c67020bedb141b9b18c5cd1e05f829 from master.
2013-07-28 10:57:34 +02:00
Florian Apolloner
41492f0f1b [1.5.x] Simplified smart_urlquote and added some basic tests.
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
2013-07-28 10:07:29 +02:00
Tim Graham
dd2a512f68 [1.5.x] assertEquals -> assertEqual 2013-07-27 18:46:55 -04:00
Luke Plant
a2eb219556 [1.5.x] Optimisation in prefetch_related_objects
Backport of 17559e6eb0 from master
2013-07-27 18:02:57 -04:00
Luke Plant
00b39e0145 [1.5.x] Fixed #19607 - prefetch_related crash
Thanks to av@rdf.ru and flarno11@yahoo.de for the report.

Backport of 4fd94969d8 from master
2013-07-27 17:59:27 -04:00
Tim Graham
9356495936 [1.5.x] Fixed #20679 -- Corrected CachedFilesMixin.post_process docstring.
Thanks bmispelon for the report.

Backport of 9b88dd3809 from master
2013-07-25 12:32:42 -04:00
mark hellewell
fdef471912 [1.5.x] Fixed #18315 -- Documented QueryDict.popitem and QueryDict.pop
Thanks gcbirzan for the report.

Backport of 8c9240222f from master
2013-07-25 11:09:19 -04:00
Brenton Cleeland
be6d795854 [1.5.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report.

Backport of dab52d99fc from master
2013-07-25 07:39:42 -04:00
Claude Paroz
0191011532 [1.5.x] Fixed #20773 -- [gis] Fixed regression in GoogleMap output
Thanks Martyn Clement for the report and the initial patch.
Backport of 27c1a7257 from master.
2013-07-22 10:08:41 +02:00
Matt Deacalion Stevens
9386bbc75f [1.5.x] Updated the databases documentation
+ Removed a reference about MySQL storage engines also being
   called 'table types', as this term has been deprecated for
   8 years and is no longer used.

 + Fixed the link to the official InnoDB storage engine docs.

 + Apache (versions >= 2.4) will always choose a multi-threaded
   MPM module on modern operating systems (later than 2002).

Backport of fa217d14a0 from master
2013-07-19 06:31:48 -04:00
Matt Deacalion Stevens
c89cc4fc29 [1.5.x] Fixed Croatia's country code in localflavor docs
Backport of 97e5398629 from master
2013-07-19 05:31:18 -04:00
Loic Bistuer
cf2986c885 [1.5.x] Fixed #20772 -- Fixed minor typo in form media docs.
Backport of aa41eb9b8b from master
2013-07-19 05:19:54 -04:00
Tim Graham
cbfe56c856 [1.5.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
Backport of dce8945ea6 from master
2013-07-18 12:41:56 -04:00
Matt Deacalion Stevens
5d16e923b6 [1.5.x] Atom specification URL updated
Changed to the URL of the official RFC for Atom, since Atomenabled.org
is just a holding page.

Backport of beefc97171 from master
2013-07-18 08:48:04 -04:00
Tim Graham
3f97c33a9f [1.5.x] Fixed #20763 -- Typo in tutorial 3.
Thanks crichard@ for the report.

Backport of fd95dc9e27 from master
2013-07-18 08:05:06 -04:00
Tim Graham
2e068d4e5a [1.5.x] Fixed #20756 -- Typo in uWSGI docs.
Backport of a3242dc9fe from master
2013-07-17 06:51:42 -04:00
Loic Bistuer
3860d5e8f8 [1.5.x] Reworked docs for ModelForm validation.
Backport of fba6c2ede7 from master
2013-07-16 19:22:11 -04:00
Tim Graham
1a4233eef1 [1.5.x] Fixed some markup in docs/ref/templates/api.txt
Backport of 862a04a56d from master
2013-07-15 11:38:04 -04:00
David Binetti
d1a002a44c [1.5.x] Fixed grammatical error in auth docs
Backport of 51b50c47c7 from master
2013-07-14 12:35:58 -04:00
Tim Graham
8904e9fb98 [1.5.x] Fixed #20681 -- Prevented teardown_databases from attempting to tear down aliases
Thanks simonpercivall.

Backport of d9c580306c from master
2013-07-13 18:09:24 -04:00
Tim Graham
61c8c1b6dc [1.5.x] Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
Backport of 3cdeb572d7 from master
2013-07-12 06:22:29 -04:00
Christopher Medrela
80a7dd6f7f [1.5.x] Fixed #20735 -- clarified ManyToManyField constructor doc
Backport of ac223ff6d1 from master
2013-07-12 06:06:26 -04:00
Johan Charpentier
83119fd582 [1.5.x] Fixed #20053 -- Fixed index_together documentation
Backport of 186bff47 from master
2013-07-11 20:24:32 -04:00
Tim Graham
c278d81da4 [1.5.x] Fixed #20730 -- Fixed "Programmatically creating permissions" error.
Thanks glarrain for the report.

Backport of 684a606a4e from master
2013-07-11 11:07:59 -04:00
Mathijs de Bruin
2f9378223d [1.5.x] Fixed #20075 -- Fixed session test fail when using a cache other than LocMemCache.
As override_settings was used after the initialization of the session backend,
we need to use a new session backend here.

Backport of 8c1cc4b3b0 from master
2013-07-10 15:05:00 -04:00
Tim Graham
14b5073978 [1.5.x] Added a missing test requirement in the docs; refs #19196 2013-07-10 12:10:26 -04:00
Tim Graham
13546cae9c [1.5.x] Fixed #19196 -- Added test/requirements
Backport of 4d92a0bd86 from master.
2013-07-10 11:32:28 -04:00
Tim Graham
7bbf697132 [1.5.x] Fixed #20722 -- Fixed MemcachedCache backend get_many on Python 3.
Backport of 3c736207a3 from master
2013-07-09 11:58:02 -04:00
SusanTan
5192dbbf55 [1.5.x] Fixed #18261 -- Clarified 'project root directory'
Backport of ef3fddf26e from master
2013-07-09 07:16:45 -04:00
Tim Graham
0a91a8dbe3 [1.5.x] Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3
Thanks DrMeers for the report.

Backport of dab921751d from master
2013-07-08 15:06:37 -04:00
Tim Graham
5567dc68e6 [1.5.x] Fixed #16965 -- Clarified Formset can_delete docs.
Thanks gregcorey@ for the suggestion.

Backport of 660c30ed95 from master
2013-07-08 12:21:34 -04:00
Tim Graham
f551d5a3de [1.5.x] Fixed #20493 -- Added a warning that objects may not be picklable across Django versions
Thanks cataliniacob for the suggestion and review.

Backport of 1084575163 from master
2013-07-08 09:59:06 -04:00
Tim Graham
abce5abe66 [1.5.x] Fixed #12346 -- Added a note on how to validate InlineFormSets.
Thanks johnsmith for the suggestion.

Backport of 181f63c22d from master
2013-07-08 08:32:28 -04:00
SusanTan
4140bfb93c [1.5.x] Fixed #20711 -- Fixed broken link in timesince.py docstring
Backport of d63327d843 from master.
2013-07-07 12:40:53 -04:00
Tim Graham
80673e20f2 [1.5.x] Fixed #14006 -- Documented that Field's 'description' attribute is interpolated with field.__dict__
Thanks abeld for the suggestion.

Backport of 2d96e660f9 from master.
2013-07-06 18:34:43 -04:00
Tim Graham
6c98458771 [1.5.x] Fixed #19539 -- Updated custom model fields example for Python 3.
Thanks astorije@ for the report.

Backport of b9fceadfd4 from master.
2013-07-05 06:54:42 -04:00
Tim Graham
95aa2182b7 [1.5.x] Fixed #19940 -- Made test.runner.setup_databases properly handle aliases for defau
Thanks simonpercivall.

Backport of 2cbd579efe from master.
2013-07-04 20:41:01 -04:00
Tim Graham
25d987b21e [1.5.x] Fixed #20134 -- Correct list of fields that UserManager requires.
Thanks semenov and pegler.

Backport of da5069f68f from master.
2013-07-04 10:20:09 -04:00
Tim Graham
82a6a956d5 [1.5.x] Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
Thanks littlepig for the report.

Backport of f407f75aae from master.
2013-07-04 09:33:40 -04:00
Tim Graham
fa37f45c32 [1.5.x] Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.

Backport of 428de2e339 from master.
2013-07-04 08:34:00 -04:00
Tim Graham
9c501e6638 [1.5.x] Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
Thanks rene@ for the suggestion.

Backport of 231e31c690 from master.
2013-07-04 05:45:34 -04:00
SusanTan
583f340d7d [1.5.x] Fixed #20609 -- Documented how to use request.user with RequestFactory
Thanks michel@ for the suggestion.

Backport of 75041d5ea3 from stable/1.5.x.
2013-07-03 11:12:04 -04:00
Claude Paroz
44df41e5fd [1.5.x] Fixed #20695 -- Fixed contrib.humanize translation syntax errors
Affected language: Mexican Spanish, Mongolian, Romanian, Turkish
Translations for 1.6 and master will be refetched from Transifex.
Thanks ruless at gmail.com for the report.
2013-07-03 16:39:26 +02:00
Tomáš Ehrlich
6151fdf930 [1.5.x] Fixed #20687 -- Added documentation for django.core.signing API.
Thanks Baptiste Mispelon for the suggestion.

Backport of c5bc98d7e1 from master.
2013-07-03 10:39:05 -04:00
Tim Graham
4453d8651a [1.5.x] Fixed #20691 -- Added a note for __str__() vs. __unicode__() and Python 3.
Thanks garrison for the suggestion.

Backport of 8a679386c3 from master.
2013-07-03 08:46:31 -04:00
Tim Graham
62a9abeff0 [1.5.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.
Thanks Riley Strong for the report.

Backport of 3fd0ee5b46 from master
2013-06-29 14:17:38 -04:00
Baptiste Mispelon
def1881370 [1.5.x] Fixed missing slash in reusable apps tutorial.
Backport of 5caced89e0ac2f942b68bc5f163d156a42880f16 from master.
2013-06-28 09:52:25 +02:00
jktravis
b91e138405 Fixed #20670 -- Fixed project layout in reusable apps tutorial.
Backport of 70d3adf9f2ebfdfc9e64376b71b596ebb12d77f8 from master.
Thanks to nicklasp for the report.
2013-06-28 09:50:59 +02:00
Trey Hunner
058ad52b3d [1.5.x] Added missing preposition in documentation
Backport of 2ec54e7fbc from master
2013-06-27 18:03:39 -04:00
Ken Bolton
ceff19805e [1.5.x] Fixed typo in docs/ref/signals.txt
Backport of 6fcb7ba842 from master
2013-06-27 17:53:54 -04:00
Baptiste Mispelon
20295f2788 [1.5.x] Fixed #20665 -- Missing backslash in sitemaps documentation
Backport of 5005303ae7919eef26dab9f8ba279696966ebf1d from master.
2013-06-27 09:44:17 +02:00
Daniel Izquierdo
030ef4d1af [1.5.x] Fixed #20654 -- Fixed type of m2m_changed's pk_set arg in docs
Backport of 9a2b07f1b4 from master
2013-06-25 07:52:15 -04:00
Aymeric Augustin
02619227a9 [1.5.x] Fixed #20636 -- Stopped stuffing values in the settings.
In Django < 1.6, override_settings restores the settings module that was
active when the override_settings call was executed, not when it was
run. This can make a difference when override_settings is applied to a
class, since it's executed when the module is imported, not when the
test case is run.

In addition, if the settings module for tests is stored alongside the
tests themselves, importing the settings module can trigger an import
of the tests. Since the settings module isn't fully imported yet,
class-level override_settings statements may store a reference to an
incorrect settings module. Eventually this will result in a crash during
test teardown because the settings module restored by override_settings
won't the one that was active during test setup.

While Django should prevent this situation in the future by failing
loudly in such dubious import sequences, that change won't be backported
to 1.5 and 1.4. However, these versions received the "allowed hosts"
patch and they're prone to "AttributeError: 'Settings' object has no
attribute '_original_allowed_hosts'". To mitigate this regression, this
commits stuffs _original_allowed_hosts on a random module instead of the
settings module.

This problem shouldn't occur in Django 1.6, see #20290, but this patch
will be forward-ported for extra safety.

Also tweaked backup variable names for consistency.
2013-06-24 20:40:19 +02:00
Tim Graham
7e6c0387b3 [1.5.x] Clarified get_list_or_404 docs, refs #14150.
Backport of e161e4ff11 from master
2013-06-24 07:03:29 -04:00
Simon Meers
11a8a7f266 [1.5.x] Corrected minor typos in FileUploadHandler.receive_data_chunk docs.
Backport of 6466a08 from master.
2013-06-24 14:11:08 +10:00
Baptiste Mispelon
4821a99ca4 [1.5.x] Fixed errors and inconsistencies in CBV topic documentation.
Backport of bd9fbd1497edc585c5bec28c7d4bc8d1afd1943b from master.
2013-06-23 00:29:59 +02:00
Tim Graham
519fdacf51 Fixed #20634 - Corrected doc mistake re: staticfiles finders strategy.
Thanks claudep for the catch and bmispelon for the research.

Backport of 9be93aa809 from master.
2013-06-21 15:00:06 -04:00
James Bennett
9b0604e514 [1.5.x] Fixed #19881 -- Documented that get_next/previous_by_FOO uses default manager.
Backport of ba610cb319 from master
2013-06-21 13:16:51 -04:00
Baptiste Mispelon
ee8996d8a6 [1.5.x] Fixed #20612 -- Fixed incorrect wording in CBV documentation
Thanks to ndokos for the report.

Backport of b53ed5ac55d5881f129c4921199af355e2b13565 from master.
2013-06-21 17:53:10 +02:00
Tim Graham
843802ec26 [1.5.x] Fixed #19319 -- Updated example httpd.conf for Apache 2.4
Thanks colinnkeenan@ for the report.

Backport of 7314007c5b from master
2013-06-20 13:35:59 -04:00
Tim Graham
b5f8339211 [1.5.x] Fixed error in last commit. Thanks Simon Charette.
Backport of 6ef199a08e from master
2013-06-20 10:43:41 -04:00
Harm Geerts
891d003353 [1.5.x] Modified tutorial 3 to use RequestContext in place of Context.
Backport of df4a74d709 from master
2013-06-20 10:01:13 -04:00
Baptiste Mispelon
f171ed6b68 Fixed broken reference in documentation. 2013-06-19 10:39:01 +02:00
Aymeric Augustin
9d86550a70 [1.5.x] Fixed #20615 -- Added trove classifiers for major Python versions.
Backport of efe6e160.
2013-06-18 13:26:41 +02:00
Baptiste Darthenay
a952044228 [1.5.x] Fixed #20614 -- Typo in documentation.
Backport of 39b245fd76 from master
2013-06-17 07:01:48 -04:00
Tim Graham
e411e99312 [1.5.x] Fixed #20604 - Fixed file example in docs.
Thanks Chris Lasher for the report.

Backport of a1122e14a6 from master
2013-06-14 21:29:20 -04:00
Pablo Sanfilippo
e65f0c2559 [1.5.x] Fixed an erroneous import in example code.
Backport of bd68f701b from master. Fixes #20595.
2013-06-14 09:33:20 +02:00
Jaap Roes
60353458ae [1.5.x] Warned that request_finished isn't sent by some buggy setups.
Older versions of uWSGI and Sentry's middleware do not adhere to
the WSGI spec and cause the `request_finished` signal to never
fire. Added notes to the appropriate places in the docs.

Fixed #20537.

Backport of 3ce1d30.

Conflicts:
	docs/howto/deployment/wsgi/index.txt
2013-06-12 20:57:21 +02:00
Tim Graham
b75f1f3d27 [1.5.x] Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.
Thanks josh.23.french@.

Backport of 536703abf0 from master
2013-06-11 12:27:09 -04:00
Tim Graham
cd1aec65cc [1.5.x] Fixed #20578 - Typo in BaseFormSet module name
Backport of 9ff5f100dd from master
2013-06-10 14:37:38 -04:00
Tim Graham
46dacb5bb1 [1.5.x] Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS
Backport of 4e94c84e50 from master
2013-06-09 15:06:23 -04:00
Tim Graham
3bd9852401 [1.5.x] Fixed #20567 - Documented BoundField.id_for_label.
Thanks littlepig for the suggestion.

Backport of 175a102ddc from master.
2013-06-09 12:16:56 -04:00
Claude Paroz
44a0abd792 [1.5.x] Allow build of translated documentation
Backport of 6a092f24e from master.
2013-06-08 16:14:45 +02:00
Tim Graham
023710211f [1.5.x] Fixed #20545 - Made class-based view MRO lists consistent.
Thanks wim@ for the suggestion.

Backport of c36b75c814 from master
2013-06-03 10:14:29 -04:00
Tim Graham
56192d21d5 [1.5.x] Fixed #20543 - Typo in db model fields docs.
Thanks i.amber.jain@ for the report.

Backport of f315693304 from master
2013-06-01 05:50:09 -04:00
Tim Graham
f7fefb361d [1.5.x] Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
Thanks czambran.

Backport of f10e9af227 from master
2013-05-31 08:20:10 -04:00
Tim Graham
1c5cccedb4 [1.5.x] Fixed #20326 - Corrected form wizard get_form() example.
Thanks tris@ for the report.

Backport of 646a2216e9 from master
2013-05-31 08:08:42 -04:00
Gavin Wahl
e873de0a5a [1.5.x] Fixed regroup example.
Chicago was missing.

Backport of e6ff238 from master.
2013-05-29 21:50:52 -04:00
Tim Graham
1ce5672753 [1.5.x] Fixed #20525 -- Added versionadded for clearsessions.
Thanks wiml@.

Backport of 8a6e040bfa from master
2013-05-28 20:15:09 -04:00
Tim Graham
17d60438e9 [1.5.X] Fixed #20523 - Incorrect form field for FilePathField.
Thanks sane4ka.sh@ for the report.

Backport of 1fdc3d256d from master
2013-05-28 11:59:41 -04:00
Tim Graham
2e026739dc [1.5.X] Fixed #20513 - Expanded docs on QuerySet caching.
Thanks seddonym.

Backport of 8365d76da0 from master
2013-05-28 08:43:05 -04:00
Aymeric Augustin
8f2eaab0e5 [1.5.x] Fixed URL for six inventory.
Backport of 749c2e4 from master.
2013-05-27 11:16:27 +02:00
Andrew Godwin
fd48d2d438 [1.5.x] Rotate CSRF token on login
Backport of 1514f17aa60772f48839130f9a5071b9ffe15213 from master
2013-05-24 22:20:44 +01:00
Tim Graham
82fc3ce41d [1.5.x] Fixed #20492 - Removed a broken link in GIS docs.
Backport of fbab3209fc from master
2013-05-24 12:36:12 -04:00
Alasdair Nicol
d6025d790f [1.5.x] Updated link to jQuery Cookie plugin site
Backport of 81f454a322 from master
2013-05-24 12:25:48 -04:00
Tim Graham
cd15a51c3e [1.5.x] Fixed #20316 - Clarified transaction behavior of TestCase.
Thanks uberj@ for the report and lolek09 for the patch.

Backport of dffdca1109 from master
2013-05-23 11:12:33 -04:00
Tim Graham
9ed2121eca [1.5.x] Fixed #20417 - Noted that a server restart is required to load new templatetag modules.
Thanks Katya for the suggestion.

Backport of a46a399534 from master
2013-05-23 08:54:24 -04:00
Tim Graham
7df9c2bc7d [1.5.x] Fixed #20482 - Added a file reference in tutorial 3.
Thanks diek@ for the suggestion.

Backport of 9e65bd33db from master
2013-05-23 08:37:56 -04:00
Ramiro Morales
a6ff705aea [1.5.x] Tweaked a reST construct in template API docs. Refs #20104. 2013-05-22 18:09:22 -03:00
Tim Graham
239b89950c [1.5.x] Added some text I meant to add in the last commit.
Backport of 2699219c23 from master
2013-05-22 10:26:39 -04:00
Tim Graham
194eaceca7 [1.5.x] Added a note about pip upgrade flag.
Thanks Jannis Leidel for the suggestion.

Backport of 0e45f75112 from master
2013-05-22 09:43:01 -04:00
Tim Graham
1add64684c [1.5.x] Fixed #17048 - Added docs for upgrading Django.
Thanks Donald Stufft for the suggestion and
Susan Tan and Brian Fabian Crain for the patch.

Backport of ef8a9bc7fa from master.
2013-05-22 08:57:57 -04:00
Aymeric Augustin
3f7ecb512e [1.5.x] Fixed #20476 -- Typo.
Backport of 5d16456.
2013-05-21 21:29:28 +02:00
Claude Paroz
fa90ef250f [1.5.x] Imported copyreg from six.moves 2013-05-21 10:21:52 -07:00
Daniel Lindsley
cb9aaac91f [1.5.x] Fixed #20212 - __reduce__ should only be defined for Py3+. 2013-05-21 10:17:27 -07:00
Anssi Kääriäinen
bac187c0d8 [1.5.x] Fixed prefetch_related + pickle regressions
There were a couple of regressions related to field pickling. The
regressions were introduced by QuerySet._known_related_objects caching.

The regressions aren't present in master, the fix was likely in
f403653cf146384946e5c879ad2a351768ebc226.

Fixed #20157, fixed #20257. Also made QuerySets with model=None
picklable.
2013-05-21 11:45:24 +03:00
Tim Graham
63cab03f6d [1.5.x] Tweaked unit test 'quick start' explanation.
Thanks Jeremy Dunck.

Backport of 490672f057 from master
2013-05-20 13:49:11 -04:00
Anssi Kääriäinen
0eddedf7db [1.5.x] Fixed #20278 -- ensured .get() exceptions do not recurse infinitely
A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error
reporting recurse infinitely on certain rare conditions. Fixed this by
not trying to print the given lookup kwargs.

Backpatch of 266c0bb23e9d64c47ace4d162e582febd5a1e336
2013-05-20 19:05:43 +03:00
Alasdair Nicol
367089a846 [1.5.x] Fixed typo in redirect view docs
Backport of 428875775c from master
2013-05-20 08:04:46 -04:00
Tim Graham
b3dc23a6d5 [1.5.x] Added some links in /docs/intro/overview.txt
Thanks Claes Ström for the patch.

Backport of bdde7feb26 from master.
2013-05-19 12:08:20 -04:00
Tim Graham
66005c643c [1.5.X] Fixed #20183 - Clarified docs assumption that certain objects exist in database.
Thanks Tomasz Jaskowski for the patch.

Backport of 41bea033b7 from master
2013-05-19 11:34:25 -04:00
Tim Graham
694f4ff9e2 [1.5.x] Fixed #20284 - Added a note about DEBUG in static file docs.
Thanks wim@ for the suggestion and Nicolas Noé for the patch.

Backport of 2c84f4434c from master
2013-05-18 12:12:56 -04:00
Erik Romijn
38fbc83847 [1.5.x] Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
Backport of 56e2f6ccae from master
2013-05-18 11:28:39 -04:00
Tim Graham
df5a8a07fc [1.5.x] Fixed #20335 - Documented the {% language %} template tag.
Thanks bmispelon for the suggestion and djangsters for the patch.

Backport of 96cabba808 from master
2013-05-18 11:22:42 -04:00
Tim Graham
a3c4c170f4 [1.5.x] Fixed #20421 - Typo in class-based view docs.
Backport of 289afc3156 from master
2013-05-16 09:58:00 -04:00
Tim Graham
a9048c40ed [1.5.x] Fixed #19712 - Clarified admindocs regarding which attributes appear.
Thanks Daniele Procida for the report.

Backport of b5b63079bd from master
2013-05-16 08:34:19 -04:00
Tim Graham
7f4269229c [1.5.x] Fixed #20165 - Updated testing example to use django.test.TestCase.
Thanks Lorin Hochstein.

Backport of 84d8b247d2 from master.
2013-05-15 07:03:42 -04:00
Wilfred Hughes
20bed77567 [1.5.x] Fixed a minor spelling mistake in the queryset documentation
Backport of d258cce482 from master
2013-05-14 10:32:07 -04:00
zhongqi
be6e7ff6eb [1.5.x] Fixed #20394 - Clarified argument of get_user in docs
Backport of 1172bef998 from master.
2013-05-13 14:07:37 -04:00
Tim Graham
cac0f7b72e [1.5.x] Fixed #20398 - Added language selection code to example in documentation
Thanks ggbaker for the suggestion and Simeon Visser for the patch.

Backport of 897e4eab65 from master
2013-05-13 13:47:40 -04:00
Simeon Visser
a9703edc61 [1.5.X] Fixed #20397 - Cleaned up issue with quotation marks in documentation
Backport of b9efc03e6d from master
2013-05-12 20:16:31 -04:00
Tim Graham
18a2fb1907 [1.5.X] Fixed #20136 - Fixed and expanded the docs for loaddata and model signals.
Thanks brandon@ and Anssi for the report.

Backport of 2c62a509de from master
2013-05-11 19:37:09 -04:00
Tim Graham
13de270bd5 [1.5.X] Fixed #20249 - Removed a "feature" in the tutorial that doesn't actually work.
Thanks bmispelon for the report and draft patch.

Backport of 679a2ac843 from master
2013-05-11 19:11:55 -04:00
Aymeric Augustin
b41ad87873 [1.5.x] Fixed #20385 -- Typo in files docs.
Backport of bdd2857 from master.
2013-05-10 13:24:25 +02:00
Aymeric Augustin
6d3d6081e8 [1.5.x] Fixed #20025 -- Pointed to a MySQLdb fork for Python 3.
Made a few minor compatibility adjustments.

Backport of e81e319f from master.
2013-05-10 10:23:15 +02:00
Aymeric Augustin
b5d6a5b21a [1.5.x] [py3] Stopped iterating on exceptions. Refs #20025.
Backport of 86b4ac66 from master.
2013-05-10 10:18:27 +02:00
Tai Lee
23b234a9d9 [1.5.x] Fixed #20354 -- makemessages no longer crashes with UnicodeDecodeError
Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with the
file name and location, and continue processing other files.
Backport of 99a6f0e77 from master.
2013-05-07 21:36:51 +02:00
Tim Graham
acd9dc3888 [1.5.x] Fixed #20177 - Corrected docs for django.test.utils.setup_test_environment.
Thanks vlad.london.uk@ for the report.

Backport of bc02a963db from master
2013-05-06 13:56:48 -04:00
Tim Graham
1ef423b003 [1.5.x] Fixed #20274 - Added some clarifying section headings in the test docs.
Backport of e886808994 from master
2013-05-06 13:46:27 -04:00
Tim Graham
0fc4c405a4 [1.5.x] Fixed #20305 - Added include for polls/static to MANIFEST.in in tutorial.
Thanks monuszko for the report.

Backport of 86d3079d57 from master
2013-05-06 06:54:10 -04:00
Florian Apolloner
0b0d98fd4e [1.5.x] Fixed test failures introduced in a5becad9094e5c5403b692b9a7b3a6ffaabf64a3.
Backport of 780fa48f5fb81b2f0f58de95167abff84a6149aa from master
2013-05-05 16:14:41 +02:00
Claude Paroz
4f10b35a2e [1.5.x] Fixed #20309 -- admin.py is not automatically created in Django 1.5 2013-05-04 11:36:28 +02:00
Florian Apolloner
4391718f26 [1.5.x] Fixed #19252 -- Added support for wheel packages.
Backport from master (a5becad9094e5c5403b692b9a7b3a6ffaabf64a3).

Signed-off-by: Jannis Leidel <jannis@leidel.info>
2013-05-01 13:52:38 +02:00
Claude Paroz
8b345614cd [1.5.x] Updated Transifex links to the Django project
Translations for the Django framework are now hosted on the
django-core Transifex project, and the django project is only
dedicated to a team-only hub project.
Backport of 8f7276b782 from master.
2013-04-25 10:38:18 +02:00
Jannis Leidel
240649ef68 [1.5.x] Fixed a rST bug in the README template in the reusable apps docs.
Backport of db394e6ab2c1d3d53b8b8d691e995d0c3584b944 from master.
2013-04-24 09:41:30 +02:00
Jannis Leidel
399ceaab96 [1.5.x] Fixed the reusable apps docs to use a rst file extension for the README and follow PEP8 a bit more.
Backport of 949b4e94588e73067f64b5b6d22e569a105baaf7 from master.
2013-04-24 09:27:36 +02:00
Thomas Thurman
da89c7bbc0 [1.5.x] Fixed #20307 -- Word repeated in tutorial.
Replaced "the the" in the tutorial with "the".

Backport of f17aa99 from master.
2013-04-23 23:15:08 -04:00
Baptiste Mispelon
6bb8df0a98 [1.5.x] Fixed #20270 -- Fixed error in AjaxResponseMixin documentation
Backport of 73c26f0c95 from master.
2013-04-22 20:03:21 +02:00
Tim Graham
4376a64524 [1.5.x] Fixed #20285 - Added missing commas in translation docs.
Thanks cody.j.b.scott@

Backport of 9f7b277d2e from master
2013-04-18 13:45:27 -04:00
Tim Graham
d8d498347f [1.5.x] Fixed #20286 - Typo in static files docs.
Thanks bmispelon.

Backport of f71fdf83a8 from master
2013-04-18 13:42:46 -04:00
Claude Paroz
807264ed8d [1.5.x] Fixed #20266 -- Updated view example in CBV introduction
Thanks jim at hellolocals.com for the report.
Backport of 58b3a974fc from master.
2013-04-16 09:00:57 +02:00
Simon Charette
56f6348c50 [1.5.x] Fixed #20262 -- Replaced a reference to the wrong model in the CBV doc.
Thanks to mossplix for the review and bmispelon for the review.

Backport of b0bbccf from master.
2013-04-15 16:28:30 -04:00
Simon Charette
19ad7231da [1.5.x] Fixed #20263 -- Corrected wording in the formset documentation.
Thanks to feraudyh at yahoo.com for the report.

Backport of 1de63cccb1 from master.
2013-04-15 12:22:51 -04:00
Claude Paroz
9176fa70c1 [1.5.x] Fixed geojson detection with Spatialite
This is a partial backport of commit eb9430fc4be1. Without this,
geojson support is never detected with Spatialite.
Refs #20252 and #19028.
2013-04-14 19:08:50 +02:00
Tim Graham
6e3b80239e [1.5.x] Fixed #20247 - Added some missing paths in the tutorial.
Thanks gsavix for the suggestion and patch.

Backport of aad5661c6c from master.
2013-04-12 19:25:59 -04:00
Claude Paroz
991ce52bc8 [1.5.x] Fixed #20252 -- Mentionned geojson Spatialite support from 1.5
Thanks burton449geo at gmail.com for the report.
Backport of d58e985aa from master.
2013-04-12 21:01:52 +02:00
Claude Paroz
abdcf81843 [1.5.x] Fixed #20237 (again) Allowed binary parameter to assertContains
Backport of b04fd579d5 from master.
2013-04-12 20:16:35 +02:00
Tim Graham
8ab5db7a33 [1.5.x] Fixed #20248 - Clarified manage.py vs. django-admin.py
Backport of 8fc68af9c0 from master
2013-04-12 06:11:22 -04:00
Baptiste Mispelon
9c49e64b66 [1.5.x] Fixed #20211: Document backwards-incompatible change in BoundField.label_tag
Also cleaned up label escaping and consolidated the test suite regarding
label_tag.
Backport of ab686022f from master.
2013-04-12 10:25:44 +02:00
Claude Paroz
991432ee8a [1.5.x] Documented BoundField.label_tag
Backport of 0f99246b6 from master.
2013-04-12 10:18:24 +02:00
Tim Graham
709ee83cd3 [1.5.x] Fixed #20243 - Clarified when RelatedManager.remove() exists.
Backport of 712a792713 from master
2013-04-11 14:17:19 -04:00
Andrew Badr
93231851f8 [1.5.x] Removed incorrect phrase from DecimalField docs
Backport of 408da7b457 from master
2013-04-11 13:39:29 -04:00
Claude Paroz
427b59495e [1.5.x] Fixed #20237 -- Reenabled assertContains with binary parameter
Thanks Baptiste Mispelon for the review.
Backport of fe01404bb9 from master.
2013-04-11 10:58:06 +02:00
Tim Graham
82b5e10e61 [1.5.x] Fixed #20204 - Consistent usage of url() in URL dispatcher documentation
Thanks Baptiste Mispelon for the patch and dave.lampton@ for the suggestion.

Backport of c852d45681 from master.
2013-04-10 20:41:03 -04:00
Simon Charette
d04e8f8c78 [1.5.x] Fixed #20207 -- Handle ManyToManyField with a unicode name correctly.
Backport of 216580e034.
2013-04-05 15:21:59 -04:00
Julien Phalip
a15a3e9148 [1.5.x] Fixed #20169 -- Ensured that the WSGI request's path is correctly based on the SCRIPT_NAME environment parameter or the FORCE_SCRIPT_NAME setting, regardless of whether or not those have a trailing slash. Thanks to bmispelon for the review.
Backport of 2f81a0ca6543f
2013-04-01 12:07:58 -07:00
Tim Graham
405d6208e5 [1.5.x] Fixed #8649 - Documented a caveat about dynamically adjusting formsets.
Backport of 4a1d425cfe from master
2013-03-31 04:35:48 -04:00
Tim Graham
930cd8eebb [1.5.x] Fixed #9913 - Clarified User.is_authenticated docs.
Thanks rshea for the draft text.

Backport of ac4d82b94a from master
2013-03-31 04:01:05 -04:00
Tim Graham
a825b1903d [1.5.x] Fixed #20168 - Generalized a PostgreSQL specific database query in the docs.
Thanks Russ for the suggestion.

Backport of c119d0f152 from master
2013-03-31 03:41:44 -04:00
Tim Graham
999817375b [1.5.X] Fixed #19492 - Added a link to the uWSGI/Django tutorial.
Backport of 91d06ea719 from master
2013-03-30 16:22:43 -04:00
Tim Graham
ed3dd2759e [1.5.X] Fixed #18277 - Clarified startproject documentation.
Backport of 33503600b5 from master
2013-03-30 08:38:28 -04:00
Richard Cornish
29c77c5ed2 [1.5.X] Updated bios of committers
Backport of 6e67d764ae from master
2013-03-30 07:49:21 -04:00
Tim Graham
c3779d4214 [1.5.x] Fixed #19897 - Updated static files howto.
Thanks Jan Murre, Reinout van Rees and Wim Feijen,
plus Remco Wendt for reviewing.

Backport of i6c730da1f from master.
2013-03-30 07:12:37 -04:00
Tim Graham
1c42a3ec73 [1.5.X] Fixed #19582 - Added a static files tutorial.
Thanks James Pic.

Backport of c32fc79aa1 from master
2013-03-30 07:03:33 -04:00
Tim Graham
abaab6ef48 [1.5.x] Fixed #15379 - Added "how to cite Django" to FAQ.
Thanks Russ and Susan Tan.

Backport of 9916e69bf1 from master
2013-03-29 16:50:33 -04:00
Nimesh Ghelani
1d620fb957 [1.5.x] Fixed #20150 -- Fixed an error in manager doc example
Backport of 485c024567 from master
2013-03-29 15:55:23 -04:00
Maik Hoepfel
28cb46befb [1.5.x] Removed ambiguity regarding LANGUAGES setting
Backport of a05042fd3a from master
2013-03-29 08:01:38 -04:00
Gavin Wahl
d1b7bd030b [1.5.x] Fixed spelling errors
Backport of ec04fd1344 from master
2013-03-29 08:00:24 -04:00
Tim Graham
149150deb1 [1.5.x] Improved FormView docs in class-based views index.
Thanks Stefan Berder.

Backport of 738eef0f8b from master
2013-03-29 07:59:50 -04:00
ferhat elmas
56d4356d8c [1.5.x] Fixed #20146 -- Updated removed_tags example
Backport of e5d252f5b9 from master.
2013-03-28 22:45:30 +01:00
Jacob Kaplan-Moss
1cf4968cc5 Bumped version number post-release. 2013-03-28 16:07:32 -05:00
Jacob Kaplan-Moss
2847ae6665 Bump version numbers for 1.5.1. 2013-03-28 15:12:39 -05:00
Jacob Kaplan-Moss
d7eaadb4f8 [1.5.x] Added 1.5.1 release notes.
Backport of ae5247cb from master.
2013-03-28 15:07:43 -05:00
Claude Paroz
ebac592a83 Updated translations from Transifex
Polish, Telugu, Georgian, Azerbaijani, Norwegian Bokmål, Basque,
Dutch, Thai, Spanish (Argentina), Afrikaans.
2013-03-28 09:22:57 +01:00
Jacob Kaplan-Moss
bec250211b [1.5.x] Correctly restore warning capture after logging tests.
This is a fix to the wrong behavior that 15c3906eeb introduced.

Backport of 4befef9 from trunk.
2013-03-27 17:03:12 -05:00
Jacob Kaplan-Moss
9a41045b77 [1.5.x] Fixed logging-related test failure introduced by e79b857.
Backport of 654d8e9.
2013-03-27 12:21:26 -05:00
Jacob Kaplan-Moss
87f4860718 [1.5.x] Fixed #20078: don't allow filtering on password in the user admin.
Backport of 9e462f810194800af30ea19a6fb8ac5697d839b4 from master.
2013-03-27 11:52:40 -05:00
Preston Holmes
572a300e56 [1.5.x] Fixed #18985 -- ensure module level deprecations are displayed
Also don't compete with -W CLI option.

Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch.

Backport of e79b857a07905340556f781a7d63016236b21c61 from master.
2013-03-27 10:37:47 -05:00
Donald Stufft
456d6c15db Merge pull request #961 from dstufft/document-bcrypt-truncation-1.5.x
Document password truncation with BCryptPasswordHasher
2013-03-26 10:32:08 -07:00
Donald Stufft
33c4abb71a Document password truncation with BCryptPasswordHasher 2013-03-26 13:29:53 -04:00
Anssi Kääriäinen
207117ae73 [1.5.x] Fixed #20091 -- Oracle null promotion for empty strings
Backpatch of e17fa9e877e84e93b699c2bd13ea48dbbb86e451
2013-03-26 15:05:37 +02:00
Yohan Boniface
5e2bb1223c [1.5.X] Fixed signature of HttpResponse.set_signed_cookie in docs.
Backport of c5b2414a52 from master
2013-03-24 13:55:45 -04:00
Claude Paroz
8772f9b4a6 [1.5.x] Fixed #20119 -- Fixed typo in auth docs
Thanks vinyll for the report.
Backport of f670cce9f53 from master.
2013-03-23 20:01:44 +01:00
Russell Keith-Magee
d35e621633 [1.5.x] Fixed #20048, #20060 -- Modified tests for contrib apps sensitive to custom User models.
Thanks to matiasb for the report of #20060 and the draft patch for #20048.

(cherry picked from commit 930af661abdb4eb7322f1ab06f21df9ed04af43d)
2013-03-23 10:02:10 +08:00
Tim Graham
f7ca464039 [1.5.x] Added missing markup to docs.
Backport of 93cffc3b37 from master.
2013-03-22 14:08:55 -04:00
Tom V
1363b41823 [1.5.x] Fixed docs template name typo
Backport of a907fa088e from master
2013-03-22 13:51:55 -04:00
Claude Paroz
deec020bf5 [1.5.x] Fixed #20108 -- Fixed filepath_to_uri decoding error
This was a regression due to unicode_literals usage. Thanks Ivan
Virabyan for the report and the initial patch.
Backport of 164528acc8 from master.
2013-03-22 17:58:36 +01:00
Marc Tamlyn
dd897e4eeb [1.5.x] Fixed #20094 - Be more careful when checking for Iterator
Python 2.6 has some different behaviour when checking
isinstance(foo, collections.Iterator).
Backport of 829dc3c5 from master.
2013-03-22 17:45:41 +01:00
Tim Graham
7206330c15 [1.5.x] Fixed #17935 - Clarified intro of topics/files.txt.
Thanks guettli for the suggestion.

Backport of f7795e968d from master
2013-03-22 07:44:42 -04:00
Claude Paroz
add0dc02ad [1.5.x] Fixed #20096 -- Added link to the Greek localflavor app
Backport of a9ee0e297 from master.
2013-03-20 17:11:21 +01:00
Claude Paroz
b91067d9aa [1.5.x] Revert "Fixed #19895 -- Made second iteration over invalid queryset raise an exception too"
This reverts commit d1e87eb3baf75b1b6a0ada46a9b77f7e347cdb60.
This commit was the cause of a memory leak. See ticket for more details.
Thanks Anssi Kääriäinen for identifying the source of the bug.
2013-03-20 10:43:14 +01:00
Matthew Wood
5c78877016 [1.5.x] Fixed #20051 -- Specified where to define TEMPLATE_DIRS. 2013-03-18 15:48:47 -04:00
Aymeric Augustin
9e920a4888 [1.5.x] Minor docs fix for e11ccc76.
Backport of f3a6d74 from master.
2013-03-17 22:44:20 +01:00
Aymeric Augustin
1c9bd69ff0 [1.5.x] Stopped using non-standard __globals__ and __code__ attributes.
Some alternative implementations don't have them.

Closes #19944.

Backport of 9d4a5b00f1977d8cddf8e241fa4bb8a9e819f188 from master.
2013-03-17 16:05:55 +01:00
Aymeric Augustin
2757d492bb [1.5.x] Updated bundled version of six.
Backport of e11ccc76d325b6bbbf101f510a91299f507f0745.
2013-03-17 16:05:30 +01:00
Florian Apolloner
f96d2848c6 [1.5.x] Updated our six module to follow upstream changes.
This includes fixes for the java/jython detection and a new license header.

Thanks to Thomas Bartelmess for the report.

Backport of c5ce0e8a687ecf7fbc38fa85c5311a6320a246c6 from master.
2013-03-17 16:05:19 +01:00
Claude Paroz
101ec4bf8a [1.5.x] Fixed #20036 -- Improved GEOS version string parsing
Thanks chikiro.spam at gmail.com for the report.
Backport of 747f7d254 from master.
2013-03-13 09:54:37 +01:00
Tim Graham
e5c57fe1b4 [1.5.x] Fixed #19965 - Added a warning that the tutorial is written for Python 2.
Thanks itsallvoodoo for the patch.

Backport of e1bafdbffa from master.
2013-03-12 08:08:01 -04:00
Claude Paroz
1ac7d4e345 [1.5.x] Fixed #20008 -- Removed trailing slash in Wikipedia link
Thanks senden9 at gmail.com for the report.
Backport of 63c52dcbcd from master.
2013-03-10 16:00:24 +01:00
Claude Paroz
327c98ff08 [1.5.x] Fixed #19933 -- Catched ValueError in get_system_username
Thanks lanre.hbs at gmail.com for the report.
2013-03-02 22:45:06 +01:00
Tim Graham
142728277a [1.5.x] Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and browsers that persist sessions.
Thanks David Sanders.

Backport of fe5d9fe5fe from master
2013-03-02 10:13:17 -05:00
Claude Paroz
d43dfdf4b9 [1.5.x] Fixed #19960 -- Fixed sentence in contrib.auth signals docs
Thanks edd at slipszenko.net for the report.
Backport of 6d3b0c33dc from master.
2013-03-01 22:18:00 +01:00
Tim Graham
ed381bd922 [1.5.x] Fixed #19937 - Typo in class-based views intro.
Backport of d009ffe436 from master
2013-02-28 08:26:56 -05:00
Marti Raudsepp
3919810923 [1.5.x] [py3] str.decode does not exist; str.encode was intended
Backport of fba6df19b5 from master
2013-02-27 16:18:06 -05:00
Claude Paroz
171a6635d2 [1.5.x] Fixed #19926 -- Fixed a link to code example in queries docs
Thanks Randy Salvo for the report.
Backport of b0ba21db07 from master.
2013-02-27 21:32:08 +01:00
Tim Graham
7f04031ef1 [1.5.x] Fixed #16807 - Added a class-based views intro.
Thanks Preston Holmes for the text.

Backport of 2108941677 from master
2013-02-27 08:19:45 -05:00
Łukasz Langa
bbe8205693 [py3] Always fed hashlib with bytes. 2013-02-27 10:03:33 +01:00
Tim Graham
67f3a6e9cf [1.5.x] Fixed #19922 - Typo in translation docs.
Thanks amoebob for the report.

Backport of 9ce1b6191b from master
2013-02-26 15:14:17 -05:00
James Bennett
b170c077cc [1.5.x] Correct final element of version tuple. 2013-02-26 13:28:38 -06:00
James Bennett
52093827c7 [1.5.x] Update trove classifier for 1.5 final release. 2013-02-26 13:13:43 -06:00
James Bennett
61283a8208 [1.5.x] Add release date to 1.5 release notes. 2013-02-26 13:12:27 -06:00
James Bennett
e7f2c6f2d7 [1.5.x] Bump version numbers for Django 1.5 release. 2013-02-26 13:06:35 -06:00
Aymeric Augustin
702d39921c [1.5.x] Fixed #19634 -- Added proper __hash__ methods.
Classes overriding __eq__ need a __hash__ such that equal objects have
the same hash.

Thanks akaariai for the report and regebro for the patch.

Backport of e76147a from master.
2013-02-25 23:37:23 +01:00
Aymeric Augustin
1742fd08f5 [1.5.x] Fixed #6195 -- Documented caching options for javascript_catalog.
Backport of 0836670 from master
2013-02-25 22:30:56 +01:00
Aymeric Augustin
33fc438952 [1.5.x] Fixed #18144 -- Restored compatibility with SHA1 hashes with empty salt.
Thanks dahool for the report and initial version of the patch.

Backport of 633d8de from master.
2013-02-25 20:04:26 +01:00
Claude Paroz
3fb98406dc [1.5.x] Updated translations 2013-02-25 14:27:14 +01:00
Claude Paroz
cf114cffea [1.5.x] Fixed #19903 -- Fixed unbalanced setUp/tearDown calls in LiveServerAddress test
Backport of 6d52bcbb7c from master.
2013-02-25 08:59:44 +01:00
Carl Meyer
b83feeea43 [1.5.x] Minor edits to some recently-added admin docs.
Backport of 8f839aaa180f from master.
2013-02-25 00:15:46 -07:00
Aymeric Augustin
455baa68eb [1.5.x] Changed testing strategy used in 6b03179e.
Avoid polluting the app cache as it causes unrelated test failures.

Refs #19688.

Backport of 7b49da1 from master.
2013-02-25 00:11:10 +01:00
Simon Charette
f8b41da431 [1.5.x] Fixed #19688 -- Allow model subclassing with a custom metaclass using six.with_metaclass
Backport of 6b03179e126d4df01623dccc162c1579f349e41e from master.

Although we're post RC 2, I'm backporting this because it's arguably a
major bug in a new feauture that will prevent several well-known
third-party apps from being ported to Python 3.
2013-02-24 17:45:48 +01:00
Ben Konrath
1845c53081 [1.5.x] Fixed #19394 --Added note about auth forms and custom user models. 2013-02-24 07:58:16 -08:00
Preston Holmes
f60dd6f55d [1.5.x] Made a small clarification in tutorial.
refs #19889
2013-02-23 19:07:55 -08:00
Tim Graham
72db38facc [1.5.X] Added an example of "default" database dictionary left blank; refs #19775.
Thanks wsmith323 for the patch.

Backport of cf890c110e from master
2013-02-23 16:03:03 -05:00
Tim Graham
1702be89c8 [1.5.X] Fixed #19402 - Clarified purpose of CustomUser.REQUIRED_FIELDS
Thanks pydanny for the report and ptone for the patch.

Backport of 24a2bcbcdd from master
2013-02-23 15:43:55 -05:00
Grzegorz Nosek
d1e87eb3ba [1.5.x] Fixed #19895 -- Made second iteration over invalid queryset raise an exception too
When iteration over a queryset raised an exception, the result cache
remained initialized with an empty list, so subsequent iterations returned
an empty list instead of raising an exception

Backport of 2cd0edaa477b327024e4007c8eaf46646dcd0f21 from master.
2013-02-23 14:39:05 -06:00
Tim Graham
2683e8ea20 [1.5.X] Fixed #19579 - Documented that "providing_args" is purely documentational.
Backport of 4c05fdb467 from master
2013-02-23 15:33:58 -05:00
Tim Graham
a97c441e18 [1.5.X] Fixed #19880 - Fixed an error in the form wizard initial_dict example.
Thanks almalki for the report.

Backport of 9b97f01dea from master
2013-02-23 15:28:03 -05:00
Tim Graham
fceafa1929 [1.5.X] Fixed #19775 - Clarified requirements of the "default" database.
Thanks monkut for the report and wsmith323 for the patch.

Backport of 31bcb102b2 from master
2013-02-23 15:23:00 -05:00
Tim Graham
29b0d89ee9 [1.5.X] Updated example to use staticfiles static template tag, thanks reinout for the suggestion, refs #19675.
Backport of f3ae67a62f from master
2013-02-23 11:05:59 -05:00
Tim Graham
0fa827c55f [1.5.x] Fixed #19752 - Changed Postgres version numbers to 9.x to avoid having to update them each minor release.
Backport of 8d17114899 from master.
2013-02-23 10:42:27 -05:00
Tim Graham
da8c789082 [1.5.X] Updated static file example in overview to use static template tag, refs #19675.
Thanks jezdez for the note.

Backport of 9e959e8d58 from master
2013-02-23 10:37:29 -05:00
Tim Graham
ad69293958 [1.5.X] Fixed #19675 - Added mention of static files to overview.
Thanks Dwight Gunning for the patch.

Backport of a61dbd6219 from master
2013-02-23 10:01:14 -05:00
Tim Graham
89fb1836a8 [1.5.x] Fixed #19887 - Noted when callables may be used in ModelAdmin.fields and ModelAdmin.fieldset.
Thanks Patrick Strasser for the suggestion and Zbigniew Siciarz for the patch.

Backport of 722683f508 from master.
2013-02-23 09:47:42 -05:00
Tim Graham
5732f7b62b [1.5.x] Changed "mysite/mytemplates/" -> "mysite/templates" in tutorial.
Thanks James Pic.

Backport of 1b7fb29dfb from master.
2013-02-23 09:23:06 -05:00
Tim Graham
e69d810741 [1.5.x] Fixed #17094 - Typo in class-based views doc.
Thanks alej0 for the report.

Backport of c89717fabe from master.
2013-02-23 08:55:01 -05:00
Jannis Leidel
f96dd05542 [1.5.X] Fixed #19850 -- Use configured staticfiles storage to find the URL of a static file in the admin. 2013-02-23 14:42:11 +01:00
Anssi Kääriäinen
251f345db6 [1.5.x] Fixed Oracle regression in last_executed_query() with unicode strings
The regression was likely caused by the fix in #19606 which adjusted
Oracle's unicode detection, though it seems this would have been an
issue in some configurations even before.

Backpatch of ce094e570e0ff085b88b2303e25124331f558e45
2013-02-23 00:31:14 +02:00
Anssi Kääriäinen
8a99d718f7 [1.5.x] Fixed empty strings + to_field regression on Oracle
Querying the reverse side of nullable to_field relation, where both
sides can contain null values resulted in incorrect results. The reason
was not detecting '' as NULL.

Refs #17541, backpatch of 09fcb70c804b76fccc8fc0ac545873e5ab30c00a.
2013-02-23 00:09:48 +02:00
Preston Holmes
b17a572eb3 [1.5.x] Fixed #19868 -- Clarified purpose of custom user example 2013-02-20 15:34:22 -08:00
Anssi Kääriäinen
96790fc022 [1.5.x] Made a couple of selenium tests wait for page loaded
The admin_widgets tests were issuing click() to the browser but
didn't wait for the effects of those clicks. This caused the resulting
request to be processed concurrently with the test case. When using
in-memory SQLite this caused weird failures.

Also added wait_page_loaded() to admin selenium tests for code
reuse.

Fixed #19856, backpatch of 50677b29af39ca670274fb45087415c883c78b04
2013-02-21 00:01:07 +02:00
Anssi Kääriäinen
8ad436636f [1.5.x] Fixed #19672 -- Error in negated Q() filtering
There was a variable overwrite error in negated join filtering. This
happened when add_filter() was adding the IS NULL condition to the
WHERE clause.

This is not a backport from master as there have been some other
refactorings which made this patch irrelevant.

The patch is from Ian Kelly.
2013-02-20 21:57:39 +02:00
Carl Meyer
8d4342f2c9 [1.5.x] Fixed #19857 -- Fixed broken docs link in project template. 2013-02-19 18:43:28 -07:00
Carl Meyer
c7f80b428b Don't characterize XML vulnerabilities as DoS-only. 2013-02-19 18:20:08 -07:00
Tim Graham
23ef6e1baf [1.5.X] Fixed #19728 - Updated API stability doc to reflect current meaning of "stable".
Backport of 132d5822b0 from master
2013-02-19 18:20:46 -05:00
Stefan "hr" Berder
4f99b0b635 [1.5.X] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 22d5e4b4af from master
2013-02-19 16:32:59 -05:00
James Bennett
18d920ea48 [1.5.x] Bump version numbers for security release. 2013-02-19 14:15:33 -06:00
Carl Meyer
84ce990c07 [1.5.x] Update 1.5 release notes for XML and formset fixes. 2013-02-19 10:39:04 -07:00
Aymeric Augustin
3ef4bbf495 [1.5.x] Added a default limit to the maximum number of forms in a formset.
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 10:39:04 -07:00
Carl Meyer
0e46c7f7ac [1.5.x] Checked object permissions on admin history view.
This is a security fix. Disclosure and advisory coming shortly.

Patch by Russell Keith-Magee.
2013-02-19 10:39:04 -07:00
Carl Meyer
2d0c22e02d [1.5.x] Restricted the XML deserializer to prevent DoS attacks.
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 10:39:03 -07:00
Carl Meyer
a7e33c5bf3 [1.5.x] Added a new required ALLOWED_HOSTS setting for HTTP host header validation.
This is a security fix; disclosure and advisory coming shortly.
2013-02-19 10:39:03 -07:00
Tim Graham
5d853db90e [1.5.X] Fixed #19717 - Removed mentions of "root QuerySet" in docs.
Thanks julien.aubert.mail@ for the report and James Pic for the patch.

Backport of 64d0f89ab1 from master
2013-02-18 09:36:49 -05:00
Simon Meers
94ef17e2c2 [1.5.x] Corrected INSTALLED_APPS syntax in 1.5 release notes.
Backport of 9c2066d5 from master.
2013-02-18 00:55:22 +11:00
Tim Graham
ba794f68bf [1.5.x] Fixed #19824 - Corrected the class described for Field.primary_key from IntegerField to AutoField.
Thanks Keryn Knight.

Backport of 218bbef0c4 from master
2013-02-16 18:34:18 -05:00
Tim Graham
ad2b091c1f [1.5.x] Fixed #19812 - Removed a duplicate phrase in the widget docs.
Thanks diegueus9 for the report and itsallvoodoo for the draft patch.

Backport of 7a80904b00 from master
2013-02-16 18:25:03 -05:00
Alex Hunley
5c3c8bf09a [1.5.x] Fixed #19719 - Removed misleading example from ModelForm documentation
Backport of 976dc07baf from master
2013-02-16 18:05:35 -05:00
Claude Paroz
41848b078a [1.5.x] Fixed #19833 -- Fixed import parameter encoding in get_runner
Thanks Danilo Bargen for the report.
Backport of 63236161 from master.
2013-02-16 13:32:03 +01:00
Russell Keith-Magee
461d6e2295 [1.5.x] Refs #14881 -- Document that User models need to have an integer primary key.
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.

(cherry picked from commit 91c26eadc9b4efa5399ec0f6c84b56a3f8eb84f4)
2013-02-16 10:21:45 +08:00
Claude Paroz
5a803ce10e [1.5.x] Fixed geos test to prevent random failure
Points in the test fixtures have 20 as max coordinate.
Backport of 87854b0bdf3 from master.
2013-02-15 20:15:31 +01:00
Claude Paroz
1b54c85a53 [1.5.x] Avoided unneeded assertion on Python 3
Fixes failure introduced in 02e5909f7a.
2013-02-15 16:11:53 +01:00
Claude Paroz
5921f15c11 [1.5.x] Fixed #19807 -- Sanitized getpass input in createsuperuser
Python 2 getpass on Windows doesn't accept unicode, even when
containing only ascii chars.
Thanks Semmel for the report and tests.
Backport of 02e5909f7a from master.
2013-02-15 15:51:17 +01:00
Julien Phalip
42e87c17f2 [1.5.x] Fixed #19829 -- Fixed index lookups for NumPy arrays in templates.
Backport of 7d5e35cdb46124e2471
2013-02-15 00:18:49 -08:00
Russell Keith-Magee
bc6746ac30 [1.5.x] Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom User models.
Thanks to Claude Peroz for the draft patch.

(cherry picked from commit f5e4a699ca0f58818acbdf9081164060cee910fa)
2013-02-15 09:02:14 +08:00
Ramiro Morales
1c086df50e [1.5.x] Fix filtering during collection of paths in setup.py
Thanks Marek Brzóska for the report.

f179a5198e05e1be8ba8be87c1f0e1a8924cf005 from master.
2013-02-14 20:47:41 -03:00
Ramiro Morales
89ce55b301 [1.5.x] Mention backward relationships in aggregate docs.
Thanks Anssi and Marc Tamlyn for reviewing.

Fixes #19803.

0560bfb705687c831e2769b1202706e2ceb1f7a7 from master.
2013-02-14 20:47:04 -03:00
Ramiro Morales
e7ab0d35c1 [1.5.x] Typo in i18n docs.
112c6e987dbe789c8eb1889852f6056131c8d4d6 from master.
2013-02-14 20:46:27 -03:00
Ramiro Morales
6f29147488 [1.5.x] Fixed #19729 -- Removed leftover refactoring helper variables.
Thanks chrismedrela for the report.

Refs #6262, 44b9076 and 4d94c0c.

826d9de00e74a53d7cc65fcb2aaa5ccdf33674ab from master.
2013-02-14 20:45:36 -03:00
Claude Paroz
cfdc003ab7 [1.5.x] Fixed #19823 -- Fixed memcached code example in cache docs
Backport of 668d0b8d from master.
2013-02-14 11:25:07 +01:00
Carl Meyer
f83bec4847 [1.5.x] Fix admindocs on Python 3, where None cannot be sorted with strings.
This fixes two tests in admin_views which were failing on Python 3, but only if
the tests were run with docutils installed.
2013-02-12 17:12:44 -07:00
Anssi Kääriäinen
743263a105 [1.5.x] Removed try-except in django.db.close_connection()
The reason was that the except clause needed to remove a connection
from the django.db.connections dict, but other parts of Django do not
expect this to happen. In addition the except clause was silently
swallowing the exception messages.

Refs #19707, special thanks to Carl Meyer for pointing out that this
approach should be taken.
2013-02-13 00:22:10 +02:00
Anssi Kääriäinen
77f6eb2a60 [1.5.x] Made custom m2m fields without through easier to use
The change in f105fbe52b21da206bfbaedf0e92326667d7b2d4 made through=None
m2m fields fail in cases where they worked before. It isn't possible to
create such fields using public APIs. The fix is trivial, so it seems
worth adding it.

This is not a backport from master. Master has gotten enough other
changes to related fields internal API that this fix alone isn't enough
to do any good.
2013-02-10 21:54:48 +02:00
Claude Paroz
44afe44602 [1.5.x] Emphasized MyISAM pseudo-requirement for GeoDjango over MySQL
Refs #15295.
Backport of 8fbc20b24 from master.
2013-02-10 20:50:11 +01:00
Anssi Kääriäinen
7b5ca126ee [1.5.x] Fixed #19112 -- Reduced the amount of query params in a test
Backpatch of 604d8763dc2c901a3557e15880895d88af5c4127.
2013-02-10 21:09:58 +02:00
Anssi Kääriäinen
b18ad807e0 [1.5.x] Fixed #19720 -- Oracle ordering related delete regression
When a query had a complex where condition (a condition targeting more
than the base table) a subquery was used for deletion. However, the
query had default ordering from the model's meta and Oracle doesn't
work with ordered subqueries.

The regression was caused by fast-path deletion code introduced in
1cd6e04cd4f768bcd4385b75de433d497d938f82 for fixing #18676.

Thanks to Dylan Klomparens for the report.

Backpatch of 8ef3235034a1a7616714a5d61486dc68536f74ee
2013-02-10 19:58:22 +02:00
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 0478780b8efdfcbc0d2c17f1459cac45701e1d86
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 a4e97cf315142e61bb4bc3ed8259b95d8586d09c
2013-02-10 14:09:58 +02:00
Anssi Kääriäinen
4c261c61f2 [1.5.x] Fixed #19645 -- Added tests for TransactionMiddleware
Backpatch of f556df90be995a83b979cf875705d98521ab4dc7. 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
2b5f848207b1dab35afd6f63d0107629c76d4d9a 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 db09a2de6e1bc7121
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 1520748dac95a7f114e4bb2feeee04d46c720494
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 6afc85af47f7d9f44
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 c9c40bc6bc64e6
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 0694d2196f0fad
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
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 cc4de61a2b36abf418d6f4c720d9e62c405e0612 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 d194f290571f7e9dda7d2fd7a6f2b171120f2f14
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.
1bbd36a36add9b15db43014cf5e7bdb72a86fef1 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.
5362134090adce86c755a6ab48831ba834b70704 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 ce580dd8ea04237cfe34cd02df0b8944a5345f4f 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 55da775ce1bfba20db33b56c29957faa63917980
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 bb7f34d619bf 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
Claude Paroz
b641357a37 [1.5.x] Replaced deprecated sslerror by ssl.SSLError
The exact conditions on which this exception is raised are not
known, but this replacement is the best guess we can do at this
point.
Backport of 850630b4b7 from master.
2013-01-03 22:17:30 +01:00
Claude Paroz
5b8c0d22cc [1.5.x] Fixed #19382 -- Stopped smtp backend raising exception when already closed
Thanks Sebastian Noack for the report and the initial patch.
Backport of ffa50ca35 from master.
2013-01-03 20:45:57 +01:00
Claude Paroz
4081042ef5 [1.5.x] Fixed #19134 -- Allowed closing smtp backend when the server is stopped
Thanks Sebastian Noack for the report and the initial patch.
Backport of 1b3f832ab7 from master.
2013-01-03 20:45:29 +01:00
Claude Paroz
a893ee3315 Fixed #19426 -- Adapted EmptyQuerySet.distinct signature
1.5-only change, as EmptyQuerySet will be refactored in 1.6.
Thanks hongshuning@gmail.com for the patch.
2013-01-03 18:03:51 +01:00
Simon Charette
70cc95d1cc [1.5.x] Fixed #19545 -- Make sure media/is_multipart work with empty formsets
Backport of 3fc43c964e from master.
2013-01-03 15:17:14 +01:00
Tim Graham
be1e006c58 [1.5.x] Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.

Backport of 9b5f64cc6e from master.
2013-01-02 18:50:00 -05:00
Chris Beaven
61c861546b [1.5.x] Update doc example for overriding change_form.html
Slightly reworded another related paragraph for clarity, too.

Backport of 3f890f8.
2013-01-03 11:38:58 +13:00
Aymeric Augustin
7be9fa224c [1.5.x] Minor fixes in the known_related_objects tests.
* Fixed JSON indentation.
* Avoided relying on implicit ordering.

Backport of a7b7efe.
2013-01-02 22:22:51 +01:00
Aymeric Augustin
056ace0f39 [1.5.x] Fixed #19547 -- Caching of related instances.
When &'ing or |'ing querysets, wrong values could be cached, and crashes
could happen.

Thanks Marc Tamlyn for figuring out the problem and writing the patch.

Backport of 07fbc6a.
2013-01-02 22:22:14 +01:00
Tim Graham
da2cdd3a0f [1.5.X] Fixed #19549 - Typo in docs/topics/auth/default.txt
Backport of 695b2089e7 from master
2013-01-02 15:33:58 -05:00
Tim Graham
520a3f090c [1.5.X] Fixed #19520 - Corrected some misleading docs about template_name_suffix.
Thanks jnns for the report.

Backport of 0d3f16b12e from master
2013-01-01 18:47:12 -05:00
Claude Paroz
fff9752cb3 [1.5.x] Removed unusable parameters to empty_form property
Backport of 884f77bd1 from master.
2013-01-01 21:02:33 +01:00
Claude Paroz
c3d919d12a [1.5.x] Added a helper script for managing django translations
Backport of 739724ff82 from master.
2013-01-01 16:20:25 +01:00
Claude Paroz
3f2f50699e [1.5.x] Updated translation catalogs for core and admin 2013-01-01 16:13:37 +01:00
Aymeric Augustin
56e5472766 [1.5.x] Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4.
Backport of 328f5b5.
2013-01-01 10:14:24 +01:00
Julien Phalip
dfd8623de4 [1.5.x] Fixed #19453 -- Ensured that the decorated function's arguments are obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame.
Thanks to vzima for the report.
Backport of 9180146d21cf2a31eec
2012-12-31 09:51:13 -08:00
Aymeric Augustin
fd1279a44d [1.5.x] Fixed #19519 -- Fired request_finished in the WSGI iterable's close().
Backport of acc5396.
2012-12-31 12:49:10 +01:00
Aymeric Augustin
ac72782e61 [1.5.x] Fixed #16241 -- Ensured the WSGI iterable's close() is always called.
Thanks Graham Dumpleton for the report.

Backport of a53c474.
2012-12-31 12:48:43 +01:00
Claude Paroz
814c3b2e2a [1.5.x] Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' string
Thanks dibrovsd@gmail.com for the report.
Backport of d11038acb2 from master.
2012-12-31 10:24:48 +01:00
Julien Phalip
fa71536129 [1.5.x] Added further flexibility to ModelAdmin for controlling post-save redirections.
Refs #19505.
Backport of cee40c7d79930ff42bde4
2012-12-30 23:11:58 -08:00
Anssi Kääriäinen
e871e02178 [1.5.x] Made gis get_default_columns mirror changes in normal compiler
The copy-pasted part of gis compiler's get_default_columns wasn't
changed to match changes in a0155f35343afbfd9e98ab9aa4615f06780f697e.
2012-12-30 12:22:26 +02:00
Tim Graham
9e5ada79bf [1.5.x] Fixed broken links, round 4. refs #19516
Backport of 067505ad19 from master
2012-12-29 15:57:57 -05:00
Anssi Kääriäinen
d529d413f7 [1.5.x] Avoided having an indexed TextField installed unless using postgres
An index on TextField results in a warning message when running tests
on MySQL or SQLite, and the test using the TextField was PostgreSQL
only in any case.

Backpatch of 13a2b11425f87f674f0273af5fa70c1e4cf327ed
2012-12-29 16:38:32 +02:00
Anssi Kääriäinen
2d74a5fd65 [1.5.x] Fixed autopk issue in tests
Backpatch of ba4331f1775ef4dd2895b3592092973e24db3c25
2012-12-29 16:37:57 +02:00
Claude Paroz
0c96aae700 [1.5.x] Added links to default widget in forms.fields documentation
Backport of 2d0b35d2bb from master.
2012-12-29 11:32:20 +01:00
Aymeric Augustin
5097d3c5fa [1.5.x] Fix #19524 -- Incorrect caching of parents of unsaved model instances.
Thanks qcwxezdas for the report. Refs #13839.

Backport of e9c24be.
2012-12-28 23:35:08 +01:00
Aymeric Augustin
be4259004f [1.5.x] Fixed #18970 -- Documented know limitations under Python 3.
Backport of 37b3fd2 from master.
2012-12-28 21:44:45 +01:00
Preston Holmes
8d1b190248 [1.5.x] 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:48:05 -08:00
Aymeric Augustin
3cb87ec605 [1.5.x] Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b.
Refs #9893, #18515.

Thanks Russell for the report.

Backport of db278c3 from master.
2012-12-27 09:43:41 +01:00
Tim Graham
fbc06eef1a [1.5.X] Fixed broken links, round 3. refs #19516
Backport of b3a8c9dab8 from master
2012-12-26 19:10:50 -05:00
Aymeric Augustin
e2396bf122 [1.5.x] Updated documentation on localflavor translations
to account for the deprecation of django.contrib.localflavor in 1.5.

Refs #19482.
2012-12-26 14:44:57 +01:00
Aymeric Augustin
0c79e5e347 [1.5.x] Fixed #19518 -- Documented the deprecation of localflavor.
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.

Backport of 4500d35 from master.
2012-12-26 14:30:11 +01:00
Claude Paroz
4f67ab6376 [1.5.x] Fixed #16408 -- Re-fixed value conversion with Spatialite backend
Backport of 0907d3c6f from master.
2012-12-26 12:48:27 +01:00
Tim Graham
1c1df12388 [1.5.X] Fixed more broken links. refs #19516
Backport of 9c5a6adf33 from master
2012-12-25 04:46:28 -05:00
Ramiro Morales
8738da03c6 [1.5.x] Updated Python versions supported FAQ entry. 2012-12-24 19:06:57 -03:00
Ramiro Morales
3b32e5cc2d [1.5.x] Expanded tests added when fixing #14529.
To make sure changes in 35d1cd0 don't break anything. Refs #19505.

ad769efa85e0296033572315025fed9fa9aefade from master.
2012-12-24 18:13:38 -03:00
Julien Phalip
3ad34c231b [1.5.x] Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
Work by Julien Phalip.

Refs #8001, #18310, #19505. See also 0b908b92a2ca4fb74a103e96bb75c53c05d0a428.

35d1cd0b28d1d9cd7bffbfbc6cc2e02b58404415 from master.
2012-12-24 18:12:13 -03:00
Tim Graham
5489fc47df [1.5.X] Fixed links to DATABASE ENGINE setting. refs #19516
Backport of f56f6cfa58 from master
2012-12-24 15:40:17 -05:00
Aymeric Augustin
cd914175c8 [1.5.x] Prevented caching of streaming responses.
The test introduced in 4b278131 accidentally passed because of a
limitation of Python < 3.3.

Refs #17758, #7581.

Backport of 1c8be95 from master.
2012-12-24 20:30:20 +01:00
Florian Apolloner
ef98ae2910 [1.5.X] Fixed #19204 -- Replaced python2-style exception syntax.
Thanks to garrison for the report and patch.

Backport of 4a71b842662162e0892a9269179421ff2191adba from master
2012-12-24 14:06:47 +01:00
Aymeric Augustin
1114d8203e [1.5.x] Fixed a randomly failing test under Python 3.
Refs #17758.

Backport of e8f07f0 from master.
2012-12-24 11:26:38 +01:00
Luke Plant
2164cd00ec [1.5.x] Fixed HTML comparisons of class="foo bar" and class="bar foo" in tests
Refs #17758

Backport of 8bc410b44536e03ee38a0087256faf367dd98dd9 from master
2012-12-24 02:21:36 +00:00
Luke Plant
00aea69f06 [1.5.x] Fixed a dependence on set-ordering in tests
Backport of 1ae64e96c161229a74efc4235917dcaae7e9cd05 from master
2012-12-24 02:21:19 +00:00
Luke Plant
b362a55969 [1.5.x] Made admin generated changelist URLs independent of dict ordering
Backport of c31c2c92b8ef0b58394ac55fa4f61acc07091047 from master
2012-12-24 02:20:32 +00:00
Ian Clelland
5f07d24eaa [1.5.x] Sort HTML attributes on generated forms
Backport of 6b9f130278f98b3a15f7ad1959269c200e084f03 from master
2012-12-24 02:20:19 +00:00
Ian Clelland
cade3405c0 [1.5.x] Don't rely on dictionary ordering in tests
Backport of b9fc70141abd4c812b03df50452a0d3ed8cd62d2 from master
2012-12-24 02:19:53 +00:00
Ian Clelland
95b4f34b5e [1.5.x] Use HTML parser to compare html snippets
Backport of 585aa11d233b7e3e40fe45fa69ef045d8f282345 from master
2012-12-24 02:19:31 +00:00
Ian Clelland
515cf94b60 [1.5.x] Use new TestCase methods for equality comparisons
Backport of 8d35fd4c327e05b63c72a1c1e9a4a68de4dddcf0 from master
2012-12-24 02:19:16 +00:00
Ian Clelland
5eba053459 [1.5.x] Add assertJSONEqual method to TestCase
Backport of 089d9ca1df43fb36eaa857e2d617a94a82c6b906 from master
2012-12-24 02:18:56 +00:00
Ian Clelland
f2a7b52cfb [1.5.x] Add assertInHTML method to TestCase
Backport of dc704516c240011a9aeda17f631ade35c65cda58 from master
2012-12-24 02:18:06 +00:00
Ramiro Morales
903892be7b [1.5.x] Fixed #19497 -- Refactored testing docs.
Thanks Tim Graham for the review and suggestions.

d19109fd37e75ccf29d2ca64370102753dbc7c5b from master.
2012-12-22 12:39:49 -03:00
Claude Paroz
3aba929bcc [1.5.x] Fixed #19509 -- Fixed crypt/bcrypt non-ascii password encoding
Also systematically added non-ascii passwords in hashers test suite.
Thanks Vaal for the report.
Backport of 0dc3fc954 from master.
2012-12-22 16:04:49 +01:00
Aymeric Augustin
9919638137 [1.5.x] Fixed #19468 -- Decoded request.path correctly on Python 3.
Thanks aliva for the report and claudep for the feedback.

Backport of 1e4a27d from master.
2012-12-22 14:45:06 +01:00
Aymeric Augustin
db22145afb [1.5.x] Fixed #19487 -- Used str in the test client's WSGI environ.
This regression was introduced by the unicode_literals patch. The WSGI
spec mandates that environ contains native strings.

Backport of d9a0b6a.
2012-12-22 11:06:05 +01:00
Tim Graham
91af9230ad [1.5.X] Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.

Backport of 52a2588df6 from master
2012-12-21 15:53:23 -05:00
Anssi Kääriäinen
a0155f3534 [1.5.x] Refactored proxy model skipping in get_default_columns()
The refactoring allows custom subclasses to use different default
columns than the base model.
2012-12-21 20:56:04 +02:00
Claude Paroz
9e7183073f [1.5.x] Added compatibility with legacy message length
Added compatibility code to not break when decoding messages
encoded on pre-1.5 versions.
Refs #19387. Thanks Florian Apolloner for noticing the issue.
2012-12-21 13:36:22 +01:00
Claude Paroz
be10289d03 [1.5.x] Fixed #19387 -- Preserved SafeData status in contrib.messages
Thanks Anton Baklanov for the report and the patch.
Backport of e277301c2 from master.
2012-12-21 10:10:21 +01:00
Russell Keith-Magee
b7607003a5 [1.5.x] Fixed #19401 -- Ensure that swappable model references are case insensitive.
This is necessary because get_model() checks are case insensitive, and if the swapable check isn't, the
swappable logic gets tied up in knots with models that are partially swapped out.

Thanks to chris@cogdon.org for the report and extensive analysis, and Preston for his work on the draft patch.

Backport of c04c03d from trunk.
2012-12-20 16:14:10 +08:00
Patryk Zawadzki
9892919b0d [1.5.x] Fixed #18172 -- Made models with __iter__ usable in ModelMultipleChoiceField
Thanks to Patryk Zawadzki for the patch.

Backpatch of 3989ce52ef78840eefe01541628daa220191c0ad
2012-12-19 22:56:19 +02:00
Ramiro Morales
470f3eca34 [1.5.x] Added PASSWORD_HASHERS to settings reference document.
abd0f304b162b3120b1c7321fbfc3090e5f3c92c from master.
2012-12-19 15:10:39 -03:00
Tim Graham
034c355118 [1.5.X] Fixed #19470 - Clarified widthratio example.
Thanks orblivion for the suggestion.

Backport of 6534a95ac3 from master
2012-12-18 08:20:51 -05:00
Tim Graham
e11bd5c5ac [1.5.X] Fixed #19442 - Clarified that raw SQL must be committed.
Thanks startup.canada for the suggestion.

Backport of 31f49f1396 from master
2012-12-18 08:14:37 -05:00
Tim Graham
2545dc59bf [1.5.x] Fixed #17312 - Warned about database side effects in tests.
Thanks jcspray for the suggestion.

Backport of 7df03268a467a9aec9c4c574c85317a738ca33ae from master.
2012-12-18 08:05:12 -05:00
Pablo Recio
6d712e0d66 [1.5.x] Fixed #19430 -- Added 'license' value to setup.py
Backport of 50fd96497 from master.
2012-12-18 11:51:34 +01:00
Claude Paroz
ddea0e0d7e [1.5.x] Fixed #19441 -- Created PostgreSQL varchar index when unique=True
Thanks Dylan Verheul for the report and Anssi Kääriäinen for the
review.
Backport of 55972ee5c from master.
2012-12-18 10:04:47 +01:00
Anssi Kääriäinen
1caa483914 [1.5.x] Fixed #19197 -- fixed convert_values() for nullable numeric fields
Cleaned up the implementation of base convert_values() a little, and
made sure it accepts None as a value for numeric fields.

There are no tests attached. The reason is that not all of the
convert_values() accept None as a value for numeric fields (for example
sqlite3.convert_values()).

The reason the base convert_values() needs to accept None is that this
situation might arise in custom compilers for 3rd party backends. It
is easy to keep the convert_values() working, so lets do that.

Backpatch of 12a96bfa263d514884ef11009913b2f8bb163472
2012-12-17 00:09:05 +02:00
Tim Graham
528483cae2 [1.5.X] Fixed #19279 - Clarified order of database setup and Django install.
Thanks colinnkeenan for the suggestion.

Backport of 72a6ac568d from master
2012-12-16 15:46:17 -05:00
Claude Paroz
0bbc7c2b49 [1.5.x] Fixed #19483 -- Improved import error message in contrib.comments
Thanks Valentin Lorentz for the report and the suggested fix.
Backport of ed711c4bd from master.
2012-12-16 21:13:30 +01:00
Tim Graham
53b40d75b7 [1.5.X] Fixed #18718 - Documented django.utils.encoding.filepath_to_uri
Backport of 507c081484 from master
2012-12-16 14:40:10 -05:00
Russell Keith-Magee
06b5f5fcb6 [1.5.X] Corrected tests depending on the error message on the AuthenticationForm.
Refs #19368, and the fix introduced in 27f8129d64292868f6a328f7bf9a1bed67967ff3.

Backport of 9facca28b619ad94680cf07774ee7a377034ca42 from trunk.
2012-12-16 07:22:25 +08:00
Claude Paroz
55aae4b863 Updated translation catalog for contrib.auth 2012-12-15 23:27:55 +01:00
Russell Keith-Magee
9534192c10 [1.5.X] Fixed #19368 -- Ensured that login error messages adapt to changes in the User model.
Thanks to un33k for the report.

Backport of 27f8129d64292868f6a328f7bf9a1bed67967ff3 from master.
2012-12-15 22:48:09 +08:00
Russell Keith-Magee
311bd0055d [1.5.X} Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.
This makes it easier to make a ModelBackend-compliant (with regards to
permissions) User model.

Thanks to cdestigter for the report about the relationship between
ModelBackend and permissions, and to the many users on django-dev that
contributed to the discussion about mixins.

Backport of 47e1df896b17aaaa97b73ef64010a7df4ea3d8d6 from master.
2012-12-15 22:47:48 +08:00
Russell Keith-Magee
a7465ee7df [1.5.X] Fixed #19472 -- Documented the testing requirements and tools for custom User models.
Thanks to gcc for the report.

Backport of bd414aed01d48339ed02b9714565939536ffbfcb from master.
2012-12-15 22:47:30 +08:00
Russell Keith-Magee
9cf566233b [1.5.X] Fixed #19384 -- Documented the behavior of custom managers on abstract models.
This documents the behavior introduced by cc337a74, which is BACKWARDS
INCOMPATIBLE for any attempt to invoke a method on a manager using the
abstract class as the calling class (e.g., AbstractBase.objects.do_something())

Thanks to mhsparks for the report.

Backport of 1b646e656e46909af447056b4f98b9744aae4978 from master.
2012-12-15 22:46:55 +08:00
Tim Graham
084a8e2959 [1.5.X] Fixed #19344 - Documented how to run django-admin in a virtualenv on Windows.
Thanks Hourann Bosci for the patch.

Backport of 1e5b0fc4d0 from master
2012-12-15 09:30:46 -05:00
Tim Graham
1af69a240c [1.5.X] Fixed #19342 - Added new tutorials to the 1.5 release notes
Backport of b594e4923c from master
2012-12-15 08:30:06 -05:00
Claude Paroz
d196f8f7eb [1.5.X] Removed obsolete contrib.comments upgrade guide
The old comment system was pre-1.0.

Backport of 44815bad6b from master
2012-12-15 08:15:16 -05:00
Tim Graham
c252ed567c [1.5.X] Fixed #9962 - Added a testing tutorial.
Thank-you Daniele Procida for the first draft
and shaibi, Aymeric, and others for the reviews.

Backport of b052e6cc95 from master
2012-12-15 08:12:25 -05:00
Ben Longden
0c3e4848b6 [1.5.X] Removed PHP references
Backport of 55a2d5b577 from master
2012-12-14 19:33:48 -05:00
Aymeric Augustin
44e56238d7 [1.5.x] Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
Backport of a001f3c.
2012-12-14 21:16:04 +01:00
Claude Paroz
c20c3a20a3 [1.5.x] Fixed #19432 -- Provided better error message for get_object_or_404
Thanks Kit Sunde for the report and Brian Holdefehr for the initial
patch.
Backport of 6ed6a18a0 from master.
2012-12-12 22:05:49 +01:00
Tim Graham
8a1b4dbda2 [1.5.X] Fixed #19461 - Linked to psycopg in topics/install.txt
Thanks Chris Jerdonek for the suggestion.

Backport of 6cad5f212a from master
2012-12-11 18:45:03 -05:00
Tim Graham
d92d9cf2aa [1.5.X] Fixed #19377 - Emphasized database host link in tutorial
Backport of 0eed8ece32 from master
2012-12-11 16:35:37 -05:00
Florian Apolloner
deb205b8ce [1.5.X] Fixed an order dependant test failure.
Backport of 7e97f4f510b2972c867ae7674fc40134413c16ab from master.
2012-12-11 16:26:53 +01:00
Florian Apolloner
919fbe08c9 [1.5.X] Fixed a test failure in the comment tests.
Backport of 1eb0da1c5ba3096f218d1df13d02a2b8e1ac7a36 from master.
2012-12-10 23:36:17 +01:00
James Bennett
82d4786544 [1.5.x] Bump version numbers for security release. 2012-12-10 15:49:48 -06:00
Florian Apolloner
77b06e4151 [1.5.X] Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
2012-12-10 22:13:28 +01:00
Florian Apolloner
fce1fa0f7f [1.5.X] Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users. 2012-12-10 22:13:28 +01:00
Claude Paroz
984cf8417b [1.5.x] Amended an SQL test fixture to not include an id value
Some backends might need special handling for auto-increment values.
This was introduced in 5fa5621f574. Thanks Michael Manfre for spotting
the issue.
Backport of 0cdfa76e68 from master.
2012-12-10 17:50:37 +01:00
Aymeric Augustin
d6bad2e9ea [1.5.x] Fixed #19392 -- Improved error for old-style url tags with dashes.
Thanks dloewenherz for the report.

Backport of 4951932 from master.
2012-12-09 16:18:52 +01:00
Claude Paroz
fce779475e [1.5.x] Removed US localflavor-specific tests from core
Also fixes #9045.
Backport of 8248d1402 from master.
2012-12-08 21:08:37 +01:00
Aymeric Augustin
c81e8e7068 [1.5.x] Fixed #19389 -- Docs on the location of contrib apps tests.
Backport of d5ed81c.
2012-12-08 19:48:41 +01:00
Val Neekman
152d6cb411 fix a spelling error in docs
backport of cacafe8 from master.
2012-12-08 14:51:41 +01:00
Claude Paroz
a155fb7408 [1.5.x] Fixed #19439 -- Removed unused template tag library in change_password.html
Thanks ppetrid for the report.
Backport of 35492f8fc from master.
2012-12-08 12:54:22 +01:00
Claude Paroz
fa54604606 [1.5.x] Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overrides
Thanks joebuyer at manycycles.com for the report and Simon Charette
for the review.
Backport of 04e6542b5 from master.
2012-12-08 12:47:33 +01:00
Claude Paroz
9af9cdb3eb [1.5.x] Fixed a string detection in ogrinspect.py
Backport of 61407951 from master.
2012-12-08 12:20:48 +01:00
Claude Paroz
4214a22e06 [1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem paths
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338 from master.
2012-12-08 11:16:03 +01:00
Claude Paroz
a0578a1a1c [1.5.x] Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
Backport of 53b879f045 from master.
2012-12-07 17:42:17 +01:00
Andreas Hug
67bddc0b7b [1.5.x] Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_valid
Thanks Simon Charette for the report and the initial patch.
Backport of 66dfcc10b from master.
2012-12-06 20:05:16 +01:00
Claude Paroz
e9301ae451 [1.5.x] Fixed #19367 -- Fixed saving ContentFile in filesystem storage
This was not working properly when ContentFile was initialized with
an unicode string.
Thanks Alexey Boriskin for the report and the test.

Backport of 34dcf51e06 from master.
2012-12-06 17:19:35 +01:00
Marc Aymerich
57a41d985a [1.5.x] Fixed #19429 -- Applied linebreaksbr to read-only fields in inlines
Applied to inlines what ec9d6b1122d did for main fieldsets.
Backport of 553838a28 from master.
2012-12-06 09:54:47 +01:00
Daniele Procida
a8045c3af2 [1.5.x] Amended explanation of LOCALE_PATHS setting.
Thanks Daniele Procida for the patch.

37abad73d6b61031ece67d8e58612cb39326d28e from master.
2012-12-04 20:20:35 -03:00
Ramiro Morales
6a098aa6f2 [1.5.x] Fixed #18697 -- Made values accepted for two customizable admin templates consistent.
Thanks and at cloverfastfood dot com for the report.

b64d30405a3d5468dc8c6232747d45bbeee4f7bb from master.
2012-12-04 19:53:52 -03:00
Ramiro Morales
b6f67bd50e [1.5.x] Minor idiomatic and docstring edits in ar localflavor.
45f00dbb93a0e929f4320b9c652fef51655e6872 from master.
2012-12-04 19:50:19 -03:00
Anssi Kääriäinen
8c099ec3ec [1.5.x] Fixed #19391 -- Oracle specific failure in tests
The failure was caused by using None as a choice for a CharField. To
avoid Oracle's "" <-> NULL handling the field type was changed to
IntegerField.

Backpatch of 632cf32b43609f7d674c81f81f01eb9e4a059f1f
2012-12-04 23:00:17 +02:00
Julien Phalip
db455d6ff9 [1.5.x] Fixed the admin_filters tests for Postgres.
Backport of c196e01100b2
2012-12-04 10:39:49 -08:00
Claude Paroz
7fea7cf5d7 [1.5.x] Fixed #19378 -- Ensured get_success_url returns a non-lazy URL
Backport of 795ac7deda from master.
2012-12-04 13:24:04 +01:00
Sebastián Magrí
237a404d3e [1.5.x] Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be displayed as selected even if the lookup's first element is not a string.
Backport of 88e17156393b
2012-12-03 11:55:33 -08:00
Claude Paroz
3d62eaea69 [1.5.x] Fixed #19416 -- Fixed multi-line commands in initial SQL files
Thanks Aymeric Augustin for detecting this regression.
Backport of 5fa5621f5 from master.
2012-12-03 20:49:28 +01:00
Aymeric Augustin
c9a47fb379 [1.5.x] Fixed #19397 -- Crash on binary files in project templates.
Thanks gw 2012 at tnode com for the report.

Backport of baae4b8.
2012-12-03 10:45:42 +01:00
Claude Paroz
1b93499849 [1.5.x] Fixed #19015 -- Add ISO input formats to all formats
Backport of 349c4c37f8 from master.
2012-12-01 15:43:38 +01:00
Claude Paroz
ae549cc1dd Fixed #19015 -- Removed ISO formats from localized formats.py
ISO formats are automatically appended to the list of input
formats. Kept only when it is specified in first position, as it
has a special meaning in localize_input.
Thanks Bojan Mihelac for the report.

Backport of 90d3af380 from master.
2012-12-01 14:15:55 +01:00
Claude Paroz
676e4d5497 [1.5.x] Fixed #19349 -- Fixed re-rendering of ReadOnlyPasswordHashWidget
Thanks tim.bowden at mapforge.com.au for the report, Andreas Hug
for the patch and Anton Baklanov for the review.
Backport of a0cd6dd11 from master.
2012-12-01 12:23:49 +01:00
Tim Graham
88638ddd3d [1.5.X] Fixed #19400 - Typo in docs/topics/auth.txt
Backport of 008e625c66 from master
2012-11-30 15:13:51 -05:00
Ryan Kaskel
0fc5878c5f [1.5.x] Allow custom User models to use the UserAdmin's change password view.
Backport of bfdedb687abfbdf400387092762bb7081e8e8b56.
2012-11-30 16:24:51 +01:00
Claude Paroz
47c5b50d34 [1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
Backport of 0eeae1505 from master.
2012-11-29 21:52:22 +01:00
Aymeric Augustin
83df1f3b57 [1.5.x] Fixed #19356 -- Increased session key entropy.
Backport of d913a8b from master.
2012-11-29 16:38:09 +01:00
Bruno Renié
fe55052cca [1.5.x] Fixed typo in the 1.5* release notes. Thanks brutasse. 2012-11-28 20:45:10 -03:00
Ramiro Morales
bb6e661e0e [1.5.x] Fixed a comment typo. 2012-11-28 20:42:00 -03:00
Anssi Kääriäinen
e3ea668b47 [1.5.x] Fixed #14694 again -- Made defer() works with reverse relations
Master and stable/1.5.x had diverged in models/query.py.
2012-11-28 23:56:03 +02:00
Anssi Kääriäinen
957de74ebe [1.5.x] Converted a couple of assertEquals -> assertEqual 2012-11-28 23:55:47 +02:00
Claude Paroz
89593048e2 [1.5.x] Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
Thanks Craig de Stigter for the report and collaboration on the
patch.
Backport of cc3c4a9d5 from master.
2012-11-28 22:34:43 +01:00
Tai Lee
a21e8dee76 [1.5.x] Fixed #14694 -- Made `defer()` work with reverse relations
Reverse o2o fields are now usable with defer.

Backpatch of [6ebf115206289bce8f3d86318871faac13d6e835]
2012-11-28 18:25:34 +02:00
Jason Yan
54ce0ff7ba [1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.
Backport of eeaab083f from master.
2012-11-28 09:28:21 +01:00
Tim Graham
ecf292aa2c [1.5.X] Fixed #19239 - Added examples for generic date views
Thank-you Daniel Greenfeld and Scott Nixon.

Backport of 38055222bd from master
2012-11-27 19:30:44 -05:00
Tim Graham
931b0f8ccd [1.5.X] Fixed #19352 - Added an example in the QuerySet docs.
Thanks colinkeenan for the suggestion.

Backport of ba2adc9c05 from master
2012-11-27 18:22:49 -05:00
James Bennett
1c05619c1f [1.5.x] Bump version numbers for 1.5 beta 1. 2012-11-27 16:09:10 -06:00
Jacob Kaplan-Moss
212214e892 Fixed a couple of typos in the 1.5 (and beta) release notes.
Backport of [7cea123bdebd45dc1bafe02d57a90995e76c28a9] from master.
2012-11-27 15:58:16 -06:00
Jacob Kaplan-Moss
28120a9436 Added 1.5 beta release notes.
Backport of [7a62339f595f03170903d04cbb3e170fd03c657b] from master.
2012-11-27 15:57:40 -06:00
Danilo Bargen
5509eb8626 [1.5.x] Fixed #19370 -- Made date filter properly handle midnight value
Backport of c10aaa70a from master.
2012-11-27 21:25:21 +01:00
Anssi Kääriäinen
4467d86b61 [1.5.x] Removed duplicate opts.pk_index() method
Backpatch of [d37483c533868e78afd0ca3faf993fee97097f9f]
2012-11-27 21:59:03 +02:00
Aymeric Augustin
71e5ad248e [1.5.x] Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible.
Thanks m3wolf for the report and akaariai for reproducing the problem.

Backport of 2ea80b9.
2012-11-27 09:55:26 +01:00
Edward Tjörnhammar
7c91b67cfa [1.5.x] Fixed #17911 -- Ensure that admin readonly fields' display values are shown in change forms when the raw value is None.
Backport of 29d59a879ea5b116
2012-11-25 23:16:44 +01:00
Julien Phalip
22ca5bab95 [1.5.x] Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
Backport of ae206d78f6d991e
2012-11-25 20:43:18 +01:00
Claude Paroz
02ab5d180e [1.5.x] Fixed test failure following capitalization fix in 2f035a972
Backport of f26b956e80 from master.
2012-11-25 19:55:23 +01:00
Aymeric Augustin
37c54c27bd [1.5.x] Change exception type to reduce confusion.
TemplateSyntaxError is expected at compile time, not at run time.

Refs #19280.

Backport of 7644800.
2012-11-25 19:53:50 +01:00
Aymeric Augustin
72231610b3 [1.5.x] Fixed two typos.
Backport of f89901d from master.
2012-11-25 19:32:25 +01:00
Claude Paroz
6945f60c2b [1.5.x] Enabled SimpleTestCase to be decorated by override_settings
Refs #18417. Also fixed some test case classes which subclassed
the wrong parent.
Backport of a5d47415f from master.
2012-11-25 19:08:51 +01:00
Claude Paroz
4389b51fab [1.5.x] Fixed #18417 -- Raised exception when unittest.TestCase is decorated with override_settings
Backport of 9f7cefd5 from master.
2012-11-25 19:08:27 +01:00
Julien Phalip
2e5b725197 [1.5.x] Fixed #19355 -- Improved LiveServerThread's handling of exceptions. Thanks to flub for the report.
Backport of 612357f8ef
2012-11-25 12:57:14 +01:00
Aymeric Augustin
8c2f36260e [1.5.x] Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
Backport of 6b8a7ce.
2012-11-24 22:05:41 +01:00
Aymeric Augustin
f1afd57a32 [1.5.x] Used a django.test.TestCase for compatibility with @override_settings.
These tests were silently skipped.

Backport of 95edeab.
2012-11-24 22:05:25 +01:00
Vladimír Macek
a12db81135 [1.5.x] Fixed #19293 -- Updated Czech input formats
Thanks vzima for the report.
Backport of abd0e76d2 from master.
2012-11-24 21:33:59 +01:00
Jonatan Heyman
75bc081b91 [1.5.x] Fixed #18722 -- Adjusted width of sortable columns in admin
Thanks Simon Charette for the report.
Backport of 35a0fff2 from master.
2012-11-24 17:15:03 +01:00
Claude Paroz
fc570b1415 [1.5.x] Updated User manager when testing custom AUTH_USER_MODEL
This is giving more real test conditions when AUTH_USER_MODEL is
set with override_settings.
Backport of a962bc7c4 from master.
2012-11-24 16:01:10 +01:00
Anssi Kääriäinen
0d3ec8d0fb [1.5.x] Fixed ordering-related failure in m2m_through_regress tests
Backpatch of dc569c880143db07e01b3293d698ad8fe4a0136f
2012-11-24 16:05:30 +02:00
Chris Khoo
9efe1a7210 [1.5.x] Fixed #19237 -- Improved strip_tags utility
The previous pattern didn't properly addressed cases where '>'
was present inside quoted tag content.
Backport of bf1871d87 from master.
2012-11-24 12:20:41 +01:00
Aymeric Augustin
a708b8fcbe [1.5.x] Fixed #19343 -- Deadlock with TransactionTestCase + TEST_MIRROR + multi_db.
Thanks Jeremy Dunck for the review.

Backport of be64dd3 from master.
2012-11-24 09:49:07 +01:00
Russell Keith-Magee
8e8f1ddf57 [1.5.x] Removed some stray debug lines introduced accidentally in c8985a8.
Backport of f2d8004.
2012-11-24 15:27:09 +08:00
Russell Keith-Magee
2ecf3a9344 [1.5.x] Simplified the deletions performed by the swappable_models test.
This is required to allow the test to run without error under SQLite in the CI environment.

Backport of 18d7c1e.
2012-11-24 15:08:28 +08:00
Russell Keith-Magee
24582f18ff [1.5.x] Fixed #19218 -- Added documentation note on limitations of signals with custom User models.
Thanks to kunitoki@gmail.com for the report.

Backport of fdb5c98d7ee54c7f89ec10b0203263f1f5b37510.
2012-11-24 14:27:11 +08:00
Russell Keith-Magee
3fd8458fb3 [1.5.x] Fixed #19806 -- Ensure that content types and permissions aren't created for swapped models.
Thanks to rizumu for the report.

Backport of c8985a8a7317042a641e870cb75b3005cc5d67b1.
2012-11-24 14:26:50 +08:00
Jeremy Dunck
158a0332bf Changed Luxembourgish name_local to unicode escapes.
Fixes 6a00c196.
2012-11-23 19:30:52 -08:00
Anssi Kääriäinen
421e599ad3 [1.5.x] Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objs
Backpatch of 0a0a0d66b316598f7c296e8bf75749a14ce3ac49
2012-11-24 01:20:22 +02:00
Anssi Kääriäinen
625dc3f072 [1.5.x] Fixed SQLite's collapsing of same-valued instances in bulk_create
SQLite used INSERT INTO tbl SELECT %s UNION SELECT %s, the problem
was that there should have been UNION ALL instead of UNION.

Refs #19351

Backpatch of a27582484cf814554907d2d1ad077852de36963f
2012-11-24 01:19:17 +02:00
Claude Paroz
6a00c1968b Added new languages
Afrikaans, Belarusian, Breton, Venezuelan Spanish, Interlingua,
Luxembourgish, Udmurt
2012-11-23 23:16:15 +01:00
Aymeric Augustin
a79e4521e5 [1.5.x] Negligible style fix in docs.
Backport of 5c81e9d.
2012-11-23 20:41:08 +01:00
Anssi Kääriäinen
90c7aa0740 [1.5.x] Fixed #18375 -- Removed dict-ordering dependency for F-expressions
F() expressions reuse joins like any lookup in a .filter() call -
reuse multijoins generated in the same .filter() call else generate
new joins. Also, lookups can now reuse joins generated by F().

This change is backwards incompatible, but it is required to prevent
dict randomization from generating different queries depending on
.filter() kwarg ordering. The new way is also more consistent in how
joins are reused.

Backpatch of 90b86291d022a09031d1df397d7aaebc30e435f7
2012-11-23 20:07:50 +02:00
Claude Paroz
56f8e4b79c [1.5.x] Fixed cursor commit command in PostGIS backend
Thanks Bruno Renié for noticing the error.
Backport of 7b9a1fb96 from master.
2012-11-23 17:23:15 +01:00
Flavio Curella
d46b24e682 [1.5.x] Fixed #19152 -- Allowed PostGIS tests to be run without template
From version 2, a PostGIS template is no longer required to create
a GIS-enabled database.
Backport of fbd1df8e from master.
2012-11-23 16:07:29 +01:00
WoLpH
f88319dc3c [1.5.X] Changed if statement to a slightly cleaner variant
Backport of eabb44417c from master
2012-11-23 07:13:24 -05:00
Tim Graham
c90156fc18 [1.5.X] Fixed #19348 - Clarified the units of filesizeformat.
Thanks george_edison for the report and Claude Paroz for the patch.

Backport of 63e6cd1bb3 from master
2012-11-23 07:02:29 -05:00
Aymeric Augustin
a892cd3191 [1.5.x] Tweak a test to avoid hitting a limit with SQLite.
Django cannot delete more than 999 objects at a time with SQLite.

Refs #16426, #16039.

Backport of 2875b5d from master.
2012-11-23 10:19:09 +01:00
Tim Graham
918d020de2 [1.5.X] Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt
Backport of c13912ac7f from master
2012-11-22 18:02:20 -05:00
Tim Graham
072b9d0d3d [1.5.X] Spell checked 1.5 alpha release notes
Backport of e94f8babc2 from master
2012-11-22 17:16:46 -05:00
Tim Graham
42fa51c002 [1.5.X] Fixed #18974 - Warned against using models.permalink
Thanks dstufft for the draft patch.

Backport of 0e3690d230 from master
2012-11-22 16:10:42 -05:00
Aymeric Augustin
b9f9bc9a17 [1.5.x] Fixed #18984 -- Avoided a deadlock in test teardown.
Thanks Jeremy Dunck for the report.

Backport of 891c530 from master.
2012-11-22 20:56:41 +01:00
Aymeric Augustin
9bd67f056c [1.5.x] Fixed #16039 -- Made post_syncdb handlers multi-db aware.
Also reverted 8fb7a9002669fb7ba7bec7df90b465b92e1ed3c2. Refs #17055.

Backport of a026e48 from master.
2012-11-22 20:54:20 +01:00
George Hickman
12cf9d2be3 [1.5.x] Fixed #19316 -- Set View args/kwargs/request before dispatch
Backport of ea6b95db from master.
2012-11-22 20:14:04 +01:00
Tim Graham
84dc6afac7 [1.5.X] Documented behavior of get_or_create when multiple objects are returned.
Thanks Matt Lauber for the patch.

Backport of 71a3162a70 from master
2012-11-22 10:37:17 -05:00
Tim Graham
63546533c1 [1.5.X] Clarified usage of as_view kwargs for setting arguments on class based views
Thanks Dave McLain for the patch.

Backport of 7b2d95eb30 from master
2012-11-22 09:08:37 -05:00
Tim Graham
74e22f9772 [1.5.X] Fixed #19317 - Added an image for warning blocks in the docs
Thanks tome for the suggestion and patch.

Backport of 3587991ba8 from master
2012-11-22 08:47:52 -05:00
Preston Holmes
6d85f1212f [1.5.x] Added examples of using startproject/app with URLs
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:08:04 -08:00
shepdl
187441602c [1.5.X] Fixed #19243 - Edited GeoDjango Tutorial for consistency and style.
Backport of 8e5573e99a from master
2012-11-21 19:32:27 -05:00
Tim Graham
6d13071021 [1.5.X] Fixed #19335 - Typo and cleanups in docs/topics/class-based-views/index.txt
Backport of e2b1808196 from master
2012-11-21 19:07:36 -05:00
Julien Phalip
49484b54bc [1.5.x] Fixed #18920 -- Added .gitattributes to normalize line endings in HTML templates and avoid spurious failures in the core test suite on Windows. Many thanks to manfre, Claude Paroz, Karen Tracey, MaxV and Daniel Langer for their advising and testing. 2012-11-21 10:20:02 +01:00
Julien Phalip
699a67480a [1.5.x] Modified a staticfiles test to use a unicode character that has just one single representation. The previously used character (ş) has two different representations (u'\u015f' and u's\u0327'), which caused spurious failures when the tests were run across multiple platforms (e.g. on a Linux VM hosted on a Mac). 2012-11-21 09:54:02 +01:00
Ramiro Morales
1220f22b88 [1.5.x] Fixed #19331 (again) use the right admin named URL.
This allows us to get the trailing slash in URLs without having to
manually assemble and hard-code them.

See also commits e9497a, a222d6, f51eab, 5a9e12.

Backport of 8fdb28219df22245d7e50b4e8374d8567ca84f0f from master.
2012-11-20 21:52:07 -03:00
Luke Plant
aab701f1aa [1.5.x] Corrected docs about default value of MESSAGE_STORAGE
Backport of a32f30c79c1be8e088917bced0f97760a92045ef from master
2012-11-20 23:06:38 +00:00
Claude Paroz
e15df5b6b5 [1.5.x] Fixed #19331 -- Added missing trailing slash in auth admin template
Thanks ppetrid at yawd.eu for the report.
Backport of 8c21c53c8 from master.
2012-11-20 19:21:17 +01:00
Riley Strong
e56c8d7e0a [1.5.X] Fixed typo in django.template.defaulttags
Backport of d179794c6b from master
2012-11-20 05:03:22 -05:00
Preston Holmes
3a0e0230f7 [1.5.x] Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:30 -08:00
Anton Danilchenko
5b6db35a74 [1.5.X] Fixed typo in docs/ref/models/querysets.txt
Backport of 76859e6eab from master
2012-11-19 18:46:36 -05:00
Anton Danilchenko
27ecabf73f [1.5.X] Fixed typo in docs/releases/1.5.txt
Backport of 3bdb2ca560 from master
2012-11-19 18:44:53 -05:00
Tim Graham
17c61aaea3 [1.5.X] Fixed #19306 - Improved syndication example.
Thanks brycenesbitt for the report.

Backport of 1f1f60d12f from master
2012-11-18 18:09:00 -05:00
Ramiro Morales
eb67a45a39 Updated admin base translation file. 2012-11-18 09:33:10 -03:00
Tim Graham
c262252c27 [1.5.X] Fixed #19308 - Clarified stringformat filter example
Thanks Shabda Raaj.

Backport of 2564e31014 from master
2012-11-17 19:32:51 -05:00
Tim Graham
31da2a5e56 [1.5.X] Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method.
Backport of 04775b4598 from master
2012-11-17 17:55:05 -05:00
Aymeric Augustin
e8da482bbe [1.5.x] Fixed #19315 -- Improved markup in admin FAQ.
Thanks ClaesBas.

Backport of ccb2b57 from master.
2012-11-17 23:27:27 +01:00
Aymeric Augustin
6e598fee93 [1.5.x] Fix typo in file storage docs.
Backport of 4585e12 from master.
2012-11-17 23:27:05 +01:00
Aymeric Augustin
a586f2a7e5 [1.5.x] Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
Backport of 9b755a2 from master.
2012-11-17 23:05:16 +01:00
Tom Christie
9fa6aa9534 [1.5.x] Formatting tweaks.
(cherry picked from commit 3f2fc2f41abf226913517eb1e655f823f2c5e53a)
2012-11-17 21:31:21 +01:00
Tom Christie
2fdb7e6ca5 [1.5.x] Include versionadded 1.5 directive
(cherry picked from commit 5bc6929f9af4d71065bce42578e49354096a7bf4)
2012-11-17 21:31:07 +01:00
Tom Christie
d881275341 [1.5.x] Test for ListView.page_kwarg
(cherry picked from commit f824a951776db86c04aaefc1e7c1c12ffb84c798)
2012-11-17 21:30:47 +01:00
Tom Christie
2bfea36208 [1.5.x] Add 'page_kwarg' attribute to MultipleObjectMixin, removing hardcoded 'page'.
(cherry picked from commit 502be865c68635d5c31fa3fa58162b48412153ad)
2012-11-17 21:30:22 +01:00
Kent Hauser
94208399d9 [1.5.x] Add form to formwizard context (includes tests)
Backport of ba81164fb771391b92575b5aaab6e286f56eb831 from master.
2012-11-17 21:24:19 +01:00
Tim Graham
04adb7626b [1.5.X] Fixed #16779 - Added a contributing tutorial
Thank-you Taavi Taijala for the draft patch!

Backport of 7058b595b6 from master
2012-11-17 14:12:18 -05:00
Claude Paroz
3d4f5f6086 [1.5.x] Fixed #19114 -- Fixed LogEntry unicode representation
Thanks niko at neagee.net for the report and Emil Stenstrom for
the patch.
Backport of e0363c688 from master.
2012-11-17 19:21:09 +01:00
Claude Paroz
fc379b4865 [1.5.x] Fixed #19036 -- Fixed base64 uploads decoding
Thanks anthony at adsorbtion.org for the report, and johannesl for
bringing the patch up-to-date.
Backport of 2a67374b5 from master.
2012-11-17 17:26:24 +01:00
Claude Paroz
1b6e751430 [1.5.x] Fixed #19226 -- Applied linebreaksbr to read-only fields in admin
Thanks shadow for the report, and Melevir and thiderman for the
patch.
Backport of ec9d6b112 from master.
2012-11-17 17:12:24 +01:00
Claude Paroz
a023952e10 [1.5.x] Fixed #18989 -- Removed unused condition in CursorWrapper
Thanks zimnyx for the report.
Backport of 8c6927876 from master.
2012-11-17 16:54:12 +01:00
Preston Holmes
11539aad1e [1.5.x] Fixed #19310 -- changed method docs formatting for custom file storage docs 2012-11-17 07:13:37 -08:00
Jannis Leidel
0aaaad14b7 [1.5.x] Fixed typo introduced in 0e3f7814d7106768e8eafcba0e74238fcdb90f9d. 2012-11-17 15:59:34 +01:00
Gabriel Hurley
dd740e2b2e [1.5.x] Fixed #18210 -- Escaped special characters in reverse prefixes.
Ensured that special characters passed in to reverse via the
prefix argument are properly escaped so that calls to
django.utils.regex_helpers.normalize and/or string formatting
operations don't result in exceptions.

Thanks to toofishes for the error report.

Backport of 90e530978d590a5bdcf75525aa03f844766018b8 from master.
2012-11-17 15:51:10 +01:00
Jannis Leidel
0e3f7814d7 [1.5.x] Fixed #19136 -- Properly escape gettext context prefixes in the i18n JavaScript view template.
Backport of 4a5e8087ac7676ef08e76275c1f756778b39c13e from master.
2012-11-17 15:39:34 +01:00
Tim Graham
d69c3bf137 [1.5.X] Documented that contrib.sites creates a default site.
Thanks Lorin Hochstein for the patch.

Backport of ac4aa8a76c from master
2012-11-17 06:50:54 -05:00
Preston Holmes
0d49fdb573 [1.5.x] Fixed #18985 -- made DeprecationWarnings loud
Capture warnings in Python >= 2.7 and route through
console handler, which is subject to DEBUG==True

Thanks to dstufft for the idea, and claudep for initial patch
2012-11-16 17:08:02 -08:00
Brandon Adams
cefbf09a4d [1.5.X] Fixed docs noting comment_will_be_sent returns a 400, not a 403
Backport of d8ee46afff from master
2012-11-16 18:20:11 -05:00
Claude Paroz
b39b0aedbf [1.5.x] Fixed #19296 -- Applied test connection sharing for spatialite
Thanks pegler at gmail.com for the report and the initial patch.
Backport of ff0d3126af from master.
2012-11-16 14:33:59 +01:00
Anssi Kääriäinen
a1fd9555f2 [1.5.x] Fixed #18347 -- Removed autofield raw SQL inserts from tests
Backpatch of 71e14cf3aa024496adcb23e83ddf13a7c5ddeb32
2012-11-15 17:39:39 +02:00
Anssi Kääriäinen
33f1181c31 [1.5.x] Fixed #19058 -- Fixed Oracle GIS crash
The problem is the same as in #10888 which was reintroduced when
bulk_insert was added. Thanks to Jani Tiainen for report, patch and
also testing the final patch on Oracle GIS.

Backpatch of 92d7f541da8b59520c833b19fbba52d3ecef2428
2012-11-15 16:11:22 +02:00
Tim Graham
dea4214bb5 [1.5.X] Fixed #19289 - Removed an out of place sentence in tutorial 2.
Thanks colinnkeenan for the report.

Backport of 2dbfa66f4d from master
2012-11-14 05:49:12 -05:00
Claude Paroz
ebafba50a4 [1.5.x] Fixed #19272 -- Fixed gettext_lazy returned type on Python 2
Thanks tyrion for the report.
Backport of 550ddc66b from master.
2012-11-14 10:55:12 +01:00
Claude Paroz
8967906e0a [1.5.x] Fixed #19186 -- Fixed sending mail with unicode content on Python 3
Thanks alex_po for the report and Luke Plant for the analysis.
Backport of 1620c27936 from master.
2012-11-14 10:45:57 +01:00
Alex Gaynor
911d3581ea [1.5.x] fixed a broken link in the docs. Backport of 1e34fd3c03e8f9a9e2b9be35488b8209178a4df0 2012-11-13 14:49:08 -08:00
David Cramer
d33f8d0f54 [1.5.x] Correct link to Sentry
django-sentry is no longer maintained, and sentry is the replacement.

Backport of 54fbe6c and c91a127 from master, as requested by Mr Gaynor.
2012-11-13 23:00:35 +01:00
Anssi Kääriäinen
af044d86b8 Fixed select_related performance regressions
The regression was caused by select_related fix for Oracle, commit
c159d9cec0baab7bbd04d5d51a92a51e354a722a.
2012-11-13 23:02:08 +02:00
Anssi Kääriäinen
fe21c233d4 Removed use of SortedDict for query.alias_refcount
This will have a smallish impact on performance. Refs #19276.
2012-11-13 23:01:34 +02:00
Anssi Kääriäinen
538d6c0fcd Some changes to SortedDict to make it faster under py2
Refs #19276
2012-11-13 23:01:25 +02:00
Aymeric Augustin
5e9af1600d [1.5.x] Fixed #19283 -- Fixed typo in imports in CBV docs.
Backport of 00ff69a from master.
2012-11-13 20:47:26 +01:00
Tim Graham
897d8adb1c [1.5.X] Fixed #19260 - Added a comment to tutorial 1.
Thanks terwey for the suggestion.

Backport of a72b8a2247 from master
2012-11-13 05:46:46 -05:00
Nicolas Ippolito
b3ea37e304 [1.5.X] Typo in comments doc
Backport of 17b14d4819 from master
2012-11-13 05:25:11 -05:00
Aymeric Augustin
3db2aeec98 [1.5.x] Tweaked cache key creation to avoid strict typing.
This is a provisional change. See #19221 for details.

Backport of 6c69de8 from master.
2012-11-11 21:25:30 +01:00
Anssi Kääriäinen
825a793555 [1.5.x] Fixed #19273 -- Fixed DB cache backend on pg 9.0+ and py3
There was a problem caused by Postgres 9.0+ having bytea_output default
value of 'hex' and cache backend inserting the content as 'bytes' into
a column of type TEXT. Fixed by converting the bytes value to a string
before insert.

Backpatch of [cc0ac26f4a3947be8a3fc55d4784d3474b640c23].
2012-11-10 19:48:27 +02:00
Claude Paroz
48a2917d46 [1.5.x] Removed an impossible code path in cache function
Backport of 04a7ea328 from master.
2012-11-10 15:45:45 +01:00
Claude Paroz
e6bc0c5bab [1.5.x] Fixed #14264 -- Ensured settings.configure configures logging
Thanks Matt McDonald for the patch.
Backport of 34162698c from master.
2012-11-10 12:10:43 +01:00
Sean Breant
6554137eeb [1.5.x] Fixed #19262 -- Support cookie pickling in SimpleTemplateResponse
Refs #15863.
Backport of 4d817b3887 from master.
2012-11-09 21:11:36 +01:00
Claude Paroz
dc95791e61 [1.5.x] Fixed #19261 -- Delayed Queryset evaluation in paginators
Thanks trbs for the report and the patch.
Backport of 1b307d6c8f from master.
2012-11-09 19:44:47 +01:00
Claude Paroz
bf35fb6006 [1.5.x] Merged pagination tests
It is simpler/cleaner to have all pagination tests in a single file.
Refs #16122.
Backport of 45802e12481 from master.
2012-11-09 19:44:13 +01:00
Florian Apolloner
31eefc8349 [1.5.X] Added missing encoding preamble to gis tests.
'coverage html' did fail without it.

Thanks to Claude Paroz for figuring it out.

Backport of aea8bf06620c931f7b1e7d991497d593b91f71c9 from master.
2012-11-09 15:33:37 +01:00
Tim Graham
3344d8de3e [1.5.x] Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
Fixed invalid ipv4 mapped ipv6 addresses in docs

Backport of 19eb56a277291de8c25a0edcc7af111dac7518af from master
2012-11-09 05:49:27 -05:00
Claude Paroz
087274d08f [1.5.x] Fixed #19266 -- Added Texinfo documentation target
Thanks orontee for the report and initial patch.
Backport of a79d920a56 from master.
2012-11-09 09:03:52 +01:00
Anssi Kääriäinen
908226cf1a [1.5.x] Fixed #17144 -- MySQL again groups by PK only
Thanks to Christian Oudard for the report and tests.

Backpatch of [cafb266954e21dd55ddfa90597bcf02c022bcb7d]

Conflicts:

	django/db/models/sql/compiler.py
2012-11-08 01:10:24 +02:00
Claude Paroz
b872617924 [1.5.x] Fixed #19115 -- Documented stdout/stderr options for call_command
Thanks d1ffuz0r for helping with the patch.
Backport of b1ac329ba from master.
2012-11-07 18:36:17 +01:00
Claude Paroz
34d0c30e87 [1.5.x] Fixed #19257 -- Don't swallow command's KeyError in call_command
Thanks Giovanni Bajo for the report.
Backport of 9a09558e9f from master.
2012-11-07 18:30:10 +01:00
Tim Graham
5b190733e9 [1.5.X] Fixed #19161 - Added missing clean_password method in custom user docs
Thanks DavidW for the report.

Backport of e8f696097b from master
2012-11-06 19:46:40 -05:00
Tim Graham
4f36ea451d [1.5.X] Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm
Backport of a386675a6a from master
2012-11-06 19:04:38 -05:00
Tim Graham
84e33545c9 [1.5.X] Fixed #19154 - Noted commit_manually requires commit/rollback for reads
Thanks als for the report.

Backport of 620e0bba49 from master
2012-11-06 17:50:00 -05:00
Claude Paroz
e645c89bbb [1.5.x] Fixed #14315 -- Made memcached backend handle negative incr/decr values
Thanks Michael Manfre for the report and initial patch and
Tobias McNulty for the review.

Backport of 79dd751b0b from master.
2012-11-06 12:23:32 +01:00
Tim Graham
79209dfdc5 [1.5.X] Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
Thanks Fred Palmer for the report.

Backport of 2cc1884383 from master
2012-11-06 05:18:12 -05:00
Aymeric Augustin
93e0ec553d [1.5.x] Fixed #19254 -- Bug in SESSION_FILE_PATH handling.
Thanks simonb for the report.

Refs #18194.

Backport of 11fd00c from master.
2012-11-06 10:21:30 +01:00
Tim Graham
f7d87b30fb [1.5.X] Fixed #15591 - Clarified interaction between ModelForm and model validation.
Backport of d3fd8a1512 from master
2012-11-05 18:30:50 -05:00
Claude Paroz
a23c9c48a8 [1.5.x] Fixed #8627 -- Prevented textareas to swallow first newline content
Browsers consider the first newline in textareas as some display
artifact, not real content. Hence they are not sending it back to
the server. If we want to keep initial newlines, we have to add one
when we render the textarea.
Thanks bastih for the report and initial patch.

Backport of 78f66691ee from master.
2012-11-05 20:56:25 +01:00
Preston Holmes
c7d5e7c75b [1.5.x] Fixed py3 compatibility for 5a00a57aa591c766f5ee1d8c59b64618d74fe191 2012-11-04 23:39:56 -08:00
Anton I. Sipos
81342c28c6 [1.5.x] Fixed #18949 -- Fix broken test interactions in ModelForms tests
A test in Model Forms test was specifically referring to a fixed
primary key, which was now being used up in a newly committed.
This has been worked around by specifying a higher primary
key.
2012-11-04 18:37:01 -08:00
Daniel Greenfeld
dbe984c397 Fixed #19241 -- Improved floatformat docs
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:45:30 -08:00
Alex Gaynor
d35b95c2f4 Merge branch 'stable/1.5.x' of https://github.com/django/django into stable/1.5.x 2012-11-04 15:58:54 -08:00
Alex Gaynor
d828d4e186 [1.5.x] Merge pull request #495 from aisipos/ticket_18949
Fixed #18949 -- Improve performance of model_to_dict with many-to-many

Backport of 4d766b3c9aca36cbe7dc71df0cc93fb6f9deea60.
2012-11-04 15:58:37 -08:00
Preston Holmes
b85cb92ba9 [1.5.x] Fixed #19240 -- include pagination error details in ListView 404
Thanks to seawolf for the patch
2012-11-04 15:52:41 -08:00
Alex Gaynor
f7552a2889 [1.5.x] Corrected a typo that inadvertently made its way into the docs. Backport of 0a49e6164c78ab6c828c08896856a77e2b423c91. 2012-11-04 15:45:20 -08:00
Alex Gaynor
32d5f03f10 [1.5.x] Added multi-column indexes to the 1.5 release notes. Backport of 957787ace0a14fa2ee2539d47a64b266bc93b6bd. 2012-11-04 15:41:58 -08:00
Alex Gaynor
69a0c91c90 [1.5.x]Merge pull request #494 from mrj0/model_split
model_split: Fixed #19236 - fixed error for abstract models with a split method

Backport of 8d3f932f18c75fcbb32cf3dd5998445d65b5db0f
2012-11-04 14:21:49 -08:00
Preston Holmes
3bb8c6e1cd [1.5.x] Added a note and link to CLA from contributing docs 2012-11-04 12:26:23 -08:00
Alex Gaynor
4f6e9c6af2 [1.5.x] Merge pull request #493 from edavis/fix-get-foo-display-docs
Fixed formatting of get_FOO_display example
2012-11-04 11:18:45 -08:00
Alex Gaynor
6f716e9e5f [1.5.x] Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. Backport of 4285571c5a9bf6ca3cb7c4d774942b9ae5b537e4. 2012-11-04 10:26:59 -08:00
Tim Graham
26e0651c42 [1.5.X] Fixed #19090 - Added PostgreSQL connection note.
Thanks Melevir for the patch.

Backport of 249c3d730e from master
2012-11-04 05:35:38 -05:00
Claude Paroz
b61778dcf6 [1.5.x] Fixed #6234 -- Removed obsolete note about json and ensure_ascii
Thanks aaron at cellmap.ca for the report.
Backport of 4e8d9524c from master.
2012-11-03 23:56:04 +01:00
Aymeric Augustin
d7688a010a [1.5.x] Fixed #18963 -- Used a subclass-friendly pattern
for Python 2 object model compatibility methods.

Backport of fc10418 from master.
2012-11-03 22:08:05 +01:00
Aymeric Augustin
be6522561f [1.5.x] Fixed #15152 -- Avoided crash of CommonMiddleware on broken querystring
Backport of 973f539 from master.
2012-11-03 21:28:49 +01:00
Claude Paroz
e51a9c0c94 [1.5.x] Prevented host resolution when running dev server
Refs #19075, #2494.
Thanks Karen Tracey for spotting the issue.

Backport of 3e98d98b6 from master.
2012-11-03 20:13:18 +01:00
Markus Zapke-Gründemann
4b2fb7efea [1.5.X] Fixed #19230 -- Extended the handler403 documentation.
Backport of 0546794397130b1574a667d57667bd032bff78d3 from master.

Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:19:26 +01:00
Aymeric Augustin
b99707bded [1.5.x] Fixed #19101 -- Decoding of non-ASCII POST data on Python 3.
Thanks Claude Paroz.

Backport of 095eca8 from master.
2012-11-03 13:07:02 +01:00
Ulrich Petri
f12fa7750c [1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change list.
Backport of ac2052ebc84c45709ab5f0f25e685bf656ce79bc from master.
2012-11-03 11:59:16 +01:00
Tim Graham
4a9b3826fd [1.5.X] Fixed #16841 - Documented a couple ModelAdmin methods
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset

Thanks Jordan Reiter for the report.

Backport of 39f5bc7fc3 from master
2012-11-03 05:25:55 -04:00
Preston Holmes
0131da0622 [1.5.x] 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:55 -07:00
Tim Graham
75fb8f433f [1.5.X] Fixed #19120 - Added an example of using ModelAdmin methods for read-only fields.
Thanks Daniele Procida for the patch.

Backport of d1de7596b2 from master
2012-11-02 18:32:43 -04:00
Tim Graham
90af863410 [1.5.X] Fixed #19167 - Added a warning regarding module-level database queries
Thanks Daniele Procida for the patch.

Backport of 07361d1fd6 from master
2012-11-02 18:20:32 -04:00
Tim Graham
a738d80dd1 [1.5.X] Cleaned up contrib.admin install instructions.
Thanks Cal Leeming for the patch.
\nBackport of 082fad0b83 from master
2012-11-02 18:05:51 -04:00
Tim Graham
ffc649df88 [1.5.X] Fixed #15361 - Documented performance considerations for QuerySet.get()
Thanks mmcnickle for the patch.

Backport of feaf9f279a from master
2012-11-02 17:59:51 -04:00
Florian Apolloner
6b1f73113a [1.5.x] Documented minimal python 3.2 version.
Backport of 0d8432da552b2ddf2d2326edccae627dd05a414e from master.
2012-11-02 10:52:15 +01:00
Aymeric Augustin
71dbc01ad7 Fixed #19225 -- Typo in shortcuts docs.
Thanks SunPowered for the report.
2012-11-02 09:30:31 +01:00
Tim Graham
c5d0f49dc2 [1.5.X] Added WizardView.file_storage exception message and docs
Thanks Danilo Bargen for the patch.

Backport of af7ea808d8 from master
2012-11-01 18:02:32 -04:00
Claude Paroz
a8c415f844 [1.5.x] Fixed #16678 -- Wrote tests for contrib.redirects app
Thanks Julien Phalip for the report.
Backport of d9213d09db from master.
2012-11-01 19:49:08 +01:00
Tim Graham
acab68d8a7 [1.5.X] Fixed #19179 - Added mention of NamedUrlSessionWizard and NamedUrlCookieWizard; thanks Tom for the report.
Backport of ede8a0be05 from master
2012-11-01 08:50:54 -04:00
Tim Graham
958c1d12e5 [1.5.X] Fixed #19216 - Switched to user level installation in apps tutorial.
Thanks Nick Coghlan for the suggestion.

Backport of dd0d2c0be5 from master
2012-10-31 20:02:23 -04:00
Andrew Godwin
f1be2c7a81 Fixed #19070 -- urlize filter no longer raises exceptions on 2.7
Thanks to claudep for the patch.
2012-10-31 11:01:39 +00:00
Aymeric Augustin
0dcaddb571 Fixed #17083 -- Allowed sessions to use non-default cache. 2012-10-31 09:51:19 +01:00
Tim Graham
5c7406b236 [1.5.X] Fixed #16671 - Added a tutorial on reuseable apps
Thank-you Katie Miller and Ben Sturmfels for the initial draft,
as well as Russ and Carl for the reviews.

Backport of 08cf54990a from master
2012-10-30 18:41:29 -04:00
Claude Paroz
9c4ddea8e6 [1.5.x] Fixed #19174 -- Fixed capitalization errors in LANG_INFO
Thanks waldeinburg for the report.
Backport of 2f035a9 from master.
2012-10-30 23:07:31 +01:00
Claude Paroz
2f9f211da8 [1.5.x] Prevented file_upload tests to leave files behind
Refs #19206.
Backport of 73245b3 from master.
2012-10-30 22:29:09 +01:00
Claude Paroz
a24ffa52d0 [1.5.x] Fixed #17744 -- Reset default file storage with setting_changed signal
Backport of 9a0285134 from master.
2012-10-30 22:26:03 +01:00
Claude Paroz
5229ac20be [1.5.x] Fixed #15714 -- Added note about capitalization of LANG_INFO name_local
Backport of 5dc4437df from master.
2012-10-30 09:31:25 +01:00
Claude Paroz
3f3076edbf [1.5.x] Fixed #5076 -- Properly decode POSTs with non-utf-8 payload encoding
Thanks daniel at blogg.se for the report and Aymeric Augustin for
his assistance on the patch.

Backport of 6de6988f9 from master.
2012-10-30 09:01:57 +01:00
Preston Holmes
e8269a6729 [1.5.x] Fixed #17869 - force logout when REMOTE_USER header disappears
If the current sessions user was logged in via a remote user backend log out
the user if REMOTE_USER header not available - otherwise leave it to other auth
middleware to install the AnonymousUser.

Thanks to Sylvain Bouchard for the initial patch and ticket maintenance.
2012-10-29 22:58:36 -07:00
Preston Holmes
402a986c25 [1.5.x] Fixed #19057 (again) -- added additional tests 2012-10-29 22:33:46 -07:00
Russell Keith-Magee
e784b5e594 [1.5.X] Added some test guards for some recently added auth tests.
Refs #19061, #19057.
2012-10-30 10:27:01 +08:00
Aymeric Augustin
322d858abe [1.5.x] Fixed #19209 -- Documented |date:"I".
Thanks mitar for the report.

Backport of 24b2aad from master.
2012-10-29 23:13:01 +01:00
Aymeric Augustin
a92c7c6e26 [1.5.x] Fixed #19208 -- Docs for mod_wsgi daemon mode
Thanks Graham Dumpleton for the patch.

Backport of bc00075 from master.
2012-10-29 21:40:10 +01:00
Claude Paroz
04717ee9b1 [1.5.x] Prevented leftover files and dirs in admin_scripts tests
Backport of d30516e1 from master.
2012-10-29 19:12:12 +01:00
Claude Paroz
8c556a32f2 [1.5.x] Fixed #19172 -- Isolated poisoned_http_host tests from 500 handlers
Thanks bernardofontes for the report.

Backport of b774c5993 from master.
2012-10-29 17:29:28 +01:00
Luke Plant
d7d7ad2881 [1.5.x] Fixed #17991 - prefetch_related fails with GenericRelation and varchar ID field
Thanks to okke@formsma.nl for the report, and carmandrew@gmail.com for the tests.

Backport of ccd14ff25b7642678bf3c9ed8a12643f04853144 from master
2012-10-29 14:41:05 +00:00
Preston Holmes
f427ecdc88 [1.5.x] Fixed #19061 -- added is_active attribute to AbstractBaseUser 2012-10-28 23:06:09 -07:00
Claude Paroz
b4627bcabe [1.5.x] Fixed #18575 -- Empty DATABASES should default to dummy backend
Thanks delormemarco@gmail.com for the report.

Backport of f1cc2be0c from master.
2012-10-28 23:46:54 +01:00
Aymeric Augustin
95f3f0cbbe [1.5.x] Fixed a typo in aff9b2f.
Thanks void.

Backport of effe96b from master.
2012-10-28 22:36:01 +01:00
Aymeric Augustin
8d7e526229 [1.5.x] Fixed #18964 -- floatformat test passes under py3k
Thanks Russell for the report.

Backport of b4420d9 from master.
2012-10-28 19:58:12 +01:00
Aymeric Augustin
88393357a6 [1.5.x] Marked cookies-based session expiry test as an expected failure.
Refs #19201.

Backport of 58337b3 from master.
2012-10-28 18:04:50 +01:00
Aymeric Augustin
780eaa4779 [1.5.x] Required serializer to use bytes in loads/dumps
loads has no way to tell if it should provide text or bytes to the
serializer; bytes are more reasonnable for a serialized representation,
and are the only option for pickled data.

dumps can perform conversions on the value it receives from the
serializer; but for consistency it seems better to require bytes too.

The current code would cause an exception when loading pickled session
data. See next commit.

Also fixed a bug when checking for compressed data.

Backport of 58a086a from master.
2012-10-28 18:04:21 +01:00
Anssi Kääriäinen
f105fbe52b [1.5.x] Fixed #18823 -- Ensured m2m.clear() works when using through+to_field
There was a potential data-loss issue involved -- when clearing
instance's m2m assignments it was possible some other instance's
m2m data was deleted instead.

This commit also improved None handling for to_field cases.

Backpatch of 611c4d6f1c24763e5e6e331a5dcf9b610288aaa8
2012-10-28 17:34:14 +02:00
Aymeric Augustin
13b4d44860 [1.5.x] Reverted unintentional change in aff9b2f.
Backport of 785bf0d from master.
2012-10-28 12:34:24 +01:00
Aymeric Augustin
54b45dfb53 [1.5.x] Fixed #19203 -- Added isolation to a humanize test
Thanks lrekucki for the report.

Backport of aff9b2f from master.
2012-10-28 09:35:04 +01:00
Aymeric Augustin
39082494e6 [1.5.x] Fixed #18194 -- Expiration of file-based sessions
* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions

Thanks ej for the report, crodjer and Elvard for their inputs.

Backport of 5fec97b from master.
2012-10-28 09:21:56 +01:00
Aymeric Augustin
e6b0ee768c [1.5.x] Improved tests introduced in 04b00b6.
These tests are expected to fail for the file session backend because it
doesn't handle expiry properly. They didn't because of an error in the
test setup sequence.

Refs #19200, #18194.

Backport of 882c47c from master.
2012-10-28 09:21:27 +01:00
Aymeric Augustin
845d8408e7 [1.5.x] Added optional kwargs to get_expiry_age/date.
This change allows for cleaner tests: we can test the exact output.

Refs #18194: this change makes it possible to compute session expiry
dates at times other than when the session is saved.

Fixed #18458: the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).

Backport of cd17a24 from master.
2012-10-28 09:20:54 +01:00
Claude Paroz
c5da577b9e [1.5.x] Fixed #17787 -- Documented reset caches by setting_changed signal
Backport of fc2681b22 from master.
2012-10-27 22:04:06 +02:00
Florian Apolloner
cb2817543f [1.5.x] Removed a redundant colon in the query docs.
Thanks to Berker Peksag for the patch.

Backport of 4f11b7362206224ad876018bba19b7c9a08b7f0b from master.
2012-10-27 21:20:21 +02:00
Dmitry Shevchenko
d8bd829215 Missing 'h' in word. 2012-10-27 21:09:52 +02:00
Aymeric Augustin
0fe02feab4 [1.5.x] Fixed #19200 -- Session expiry with cached_db
Also did a little bit of cleanup.

Backport of 04b00b6 from master.
2012-10-27 19:41:12 +02:00
Aymeric Augustin
b760503a27 [1.5.x] Fixed #18978 -- Moved cleanup command to sessions.
This removes a dependency of 'core' on 'contrib'.

Backport of 83ba0a9 from master.

This deprecation occurs after the alpha, but it's a prerequisite
for fixing decently #18194 which is a release blocker.
2012-10-27 18:38:32 +02:00
Anssi Kääriäinen
15ea36dfc0 [1.5.x] Ensured gis tests aren't run on non-gis Oracle
Backpatch of b55de81b9e4d820a223c066022050a0df0ee1dd0
2012-10-27 19:26:33 +03:00
Anssi Kääriäinen
7cf2858747 [1.5.x] Marked a test as expectedFailure on Oracle
Backpatch of a5152bb64677fb9b976f6b35e80b11b368ef1e08
2012-10-27 19:25:53 +03:00
Anssi Kääriäinen
fa1083fb0c [1.5.x] Fixed Oracle failure caused by None converted to '' in select_related case
Backpatch of c159d9cec0baab7bbd04d5d51a92a51e354a722a
2012-10-27 19:25:14 +03:00
Anssi Kääriäinen
18357bf3ac [1.5.x] Fixed Oracle failure for "%" in table name
Backpatch of 2249bd275cbae6b73716bf36f5f36def1bb4222e
2012-10-27 19:24:48 +03:00
Aymeric Augustin
c902623d50 [1.5.x] Fixed comment_test tests under hash randomization.
Thanks clelland for the patch.

Backport of 789ea33 from master.
2012-10-26 22:48:35 +02:00
Aymeric Augustin
d1e59794d1 [1.5.x] Fixed feedgenerator tests under hash randomization
Backport of 46d27a6 from master.
2012-10-26 22:41:45 +02:00
Aymeric Augustin
1b4b0dc013 [1.5.x] Fixed httpwrappers tests under hash randomization
Backport of 195bc37 from master
2012-10-26 22:16:00 +02:00
Claude Paroz
fbb664066f [1.5.x] Fixed #16820 -- Treated '0' value as True for checkbox inputs
Thanks Dan Fairs for the report and the initial patch.

Backport of be29329cc from master.
2012-10-26 20:48:57 +02:00
Claude Paroz
02b66f161f [1.5.x] Fixed #19191 -- Corrected a typo in CustomUser docs
Thanks spleeyah for the report.

Backport of 90c7656 from master.
2012-10-26 10:26:47 +02:00
Luke Plant
f6e2a2b210 [1.5.x] Fixed test failure under Python 2.x introduced in 3e10d22df5
Backport of ee6824ff459e5cba639bd1be70418ac9194945d4 from master
2012-10-26 02:47:30 +01:00
Luke Plant
0efca2a819 [1.5.x] Fixed test failures on Python 3.3 due to dict ordering assumptions.
Refs #19038

Backport of c229f31118bd8a7494692a727860ed7cb58df232 from master
2012-10-26 02:40:51 +01:00
Luke Plant
f02f29dccc [1.5.x] Fixed some test failures on Python 3.3 related to QueryDict
Refs #19038.

Backport of 1413ee0a1705beee0df1949b308cc52f2467b5d1 from master
2012-10-26 02:40:33 +01:00
Ian Clelland
b430e1db5f [1.5.x] Properly support pickling of LazyObjects in Python 3.3
Backport of 836cd26d7f3394452f1f5196eb26c99fef128a1a from master
2012-10-26 02:40:19 +01:00
Ian Clelland
3deed32394 [1.5.x] Avoid dependence on exact Python exception messages
Backport of a8bbae517963d7cc489fb35e51288e4f0efd8207 from master
2012-10-26 02:40:05 +01:00
Ian Clelland
edaacc4112 [1.5.x] Don't use : as an invalid cookie character
Since http://bugs.python.org/issue2193 has been resolved in favour of
the colon in cookie names, we need to test invalid cookie removal using
a different character. "@" is still considered invalid by all sources.

Backport of 419e2137fabdcadadc728cb9bd94af929157dc3b from master
2012-10-26 02:39:39 +01:00
Ian Clelland
7b6978553a [1.5.x] PEP 302 source loaders already decode appropriately
Backport of c11aba1775ba0562251e4b2dba78da6a86ff338c from master
2012-10-26 02:38:15 +01:00
Luke Plant
c426d56650 [1.5.x] Fixed #19039 - Python 3.3 fails unit test for duplicate bad cookies
Thanks to clelland for the report.

Backport of 71734dfa72140f90c71e199c3a63f47024636df9 from master.
2012-10-26 00:55:31 +01:00
Luke Plant
142f69eb8c [1.5.x] Fixed #15040 - Boolean fields return 0 and 1 when loaded through select_related
Thanks to homm for the report and ramiro for the patch.

Backport of f3a2bcdee906f7ca1434b6275fdc09b3a454cf46 from master
2012-10-26 00:34:47 +01:00
Tim Graham
84849723ad [1.5.X] Fixed #19180 - Clarified policy regarding older versions of the docs.
Backport of 5c143cb340 from master
2012-10-25 17:56:30 -04:00
Eric Florenzano
0887211b03 Update docs/releases/1.5.txt
Fix typo.
2012-10-25 14:50:34 -07:00
Tim Graham
efaf07265b [1.5.X] Fixed broken links + spell check in 1.5 release notes.
Backport of 48be78cf08 from master
2012-10-25 17:24:02 -04:00
Aymeric Augustin
6fd321652a [1.5.x] Fixed timezone tests when dict randomization is on
Refs #17758.

Backport of 1d6b7f3 from master.
2012-10-25 23:15:52 +02:00
Aymeric Augustin
9edec9e75d [1.5.x] Ensured get_version returns a native string.
Returning unicode triggers a bug in Python 2.7:
http://bugs.python.org/issue11638

This problem was introduced in 4a103086 (unicode_literals).

Backport of 45c8818 from master.
2012-10-25 21:49:57 +02:00
James Bennett
d7f8894465 [1.5.x] Sphinx conf to 1.5 alpha 1. 2012-10-25 14:30:53 -05:00
James Bennett
8b18f0d74b [1.5.x] Make 1.5 alpha release notes consistent with previous pre-release versions. 2012-10-25 14:22:25 -05:00
James Bennett
50dfd4b969 [1.5.x] We actually only support 3.2+ on Py3k. 2012-10-25 14:21:02 -05:00
James Bennett
ed96292833 [1.5.x] Bump version information and classifiers for 1.5 alpha release. 2012-10-25 14:18:06 -05:00
3052 changed files with 121884 additions and 107972 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Normalize line endings to avoid spurious failures in the core test suite on Windows.
*html text eol=lf

3
.gitignore vendored
View File

@ -1,8 +1,9 @@
*.egg-info *.egg-info
*.pot *.pot
*.py[co] *.py[co]
__pycache__
MANIFEST MANIFEST
dist/ dist/
docs/_build/ docs/_build/
tests/coverage_html/ tests/coverage_html/
tests/.coverage tests/.coverage

View File

@ -3,6 +3,7 @@ syntax:glob
*.egg-info *.egg-info
*.pot *.pot
*.py[co] *.py[co]
__pycache__
docs/_build/ docs/_build/
tests/coverage_html/ tests/coverage_html/
tests/.coverage tests/.coverage

View File

@ -2,82 +2,82 @@
host = https://www.transifex.com host = https://www.transifex.com
lang_map = sr@latin:sr_Latn lang_map = sr@latin:sr_Latn
[django.core] [django-core.core]
file_filter = django/conf/locale/<lang>/LC_MESSAGES/django.po file_filter = django/conf/locale/<lang>/LC_MESSAGES/django.po
source_file = django/conf/locale/en/LC_MESSAGES/django.po source_file = django/conf/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-admin] [django-core.contrib-admin]
file_filter = django/contrib/admin/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/admin/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/admin/locale/en/LC_MESSAGES/django.po source_file = django/contrib/admin/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-admin-js] [django-core.contrib-admin-js]
file_filter = django/contrib/admin/locale/<lang>/LC_MESSAGES/djangojs.po file_filter = django/contrib/admin/locale/<lang>/LC_MESSAGES/djangojs.po
source_file = django/contrib/admin/locale/en/LC_MESSAGES/djangojs.po source_file = django/contrib/admin/locale/en/LC_MESSAGES/djangojs.po
source_lang = en source_lang = en
[django.contrib-admindocs] [django-core.contrib-admindocs]
file_filter = django/contrib/admindocs/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/admindocs/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/admindocs/locale/en/LC_MESSAGES/django.po source_file = django/contrib/admindocs/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-auth] [django-core.contrib-auth]
file_filter = django/contrib/auth/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/auth/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/auth/locale/en/LC_MESSAGES/django.po source_file = django/contrib/auth/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-comments] [django-core.contrib-comments]
file_filter = django/contrib/comments/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/comments/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/comments/locale/en/LC_MESSAGES/django.po source_file = django/contrib/comments/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-contenttypes] [django-core.contrib-contenttypes]
file_filter = django/contrib/contenttypes/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/contenttypes/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/contenttypes/locale/en/LC_MESSAGES/django.po source_file = django/contrib/contenttypes/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-flatpages] [django-core.contrib-flatpages]
file_filter = django/contrib/flatpages/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/flatpages/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/flatpages/locale/en/LC_MESSAGES/django.po source_file = django/contrib/flatpages/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-formtools] [django-core.contrib-formtools]
file_filter = django/contrib/formtools/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/formtools/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/formtools/locale/en/LC_MESSAGES/django.po source_file = django/contrib/formtools/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-gis] [django-core.contrib-gis]
file_filter = django/contrib/gis/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/gis/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/gis/locale/en/LC_MESSAGES/django.po source_file = django/contrib/gis/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-humanize] [django-core.contrib-humanize]
file_filter = django/contrib/humanize/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/humanize/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/humanize/locale/en/LC_MESSAGES/django.po source_file = django/contrib/humanize/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-localflavor] [django-core.contrib-localflavor]
file_filter = django/contrib/localflavor/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/localflavor/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/localflavor/locale/en/LC_MESSAGES/django.po source_file = django/contrib/localflavor/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-messages] [django-core.contrib-messages]
file_filter = django/contrib/messages/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/messages/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/messages/locale/en/LC_MESSAGES/django.po source_file = django/contrib/messages/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-redirects] [django-core.contrib-redirects]
file_filter = django/contrib/redirects/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/redirects/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/redirects/locale/en/LC_MESSAGES/django.po source_file = django/contrib/redirects/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-sessions] [django-core.contrib-sessions]
file_filter = django/contrib/sessions/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/sessions/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/sessions/locale/en/LC_MESSAGES/django.po source_file = django/contrib/sessions/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en
[django.contrib-sites] [django-core.contrib-sites]
file_filter = django/contrib/sites/locale/<lang>/LC_MESSAGES/django.po file_filter = django/contrib/sites/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/sites/locale/en/LC_MESSAGES/django.po source_file = django/contrib/sites/locale/en/LC_MESSAGES/django.po
source_lang = en source_lang = en

View File

@ -125,6 +125,7 @@ answer newbie questions, and generally made Django that much better:
Chris Chamberlin <dja@cdc.msbx.net> Chris Chamberlin <dja@cdc.msbx.net>
Amit Chakradeo <http://amit.chakradeo.net/> Amit Chakradeo <http://amit.chakradeo.net/>
ChaosKCW ChaosKCW
Simon Charette <charette.s@gmail.com>
Kowito Charoenratchatabhan <kowito@felspar.com> Kowito Charoenratchatabhan <kowito@felspar.com>
Sengtha Chay <sengtha@e-khmer.com> Sengtha Chay <sengtha@e-khmer.com>
ivan.chelubeev@gmail.com ivan.chelubeev@gmail.com
@ -140,6 +141,7 @@ answer newbie questions, and generally made Django that much better:
crankycoder@gmail.com crankycoder@gmail.com
Paul Collier <paul@paul-collier.com> Paul Collier <paul@paul-collier.com>
Robert Coup Robert Coup
Brian Fabian Crain <http://www.bfc.do/>
Pete Crosier <pete.crosier@gmail.com> Pete Crosier <pete.crosier@gmail.com>
Matt Croydon <http://www.postneo.com/> Matt Croydon <http://www.postneo.com/>
Jure Cuhalev <gandalf@owca.info> Jure Cuhalev <gandalf@owca.info>
@ -234,6 +236,7 @@ answer newbie questions, and generally made Django that much better:
Janos Guljas Janos Guljas
Thomas Güttler <hv@tbz-pariv.de> Thomas Güttler <hv@tbz-pariv.de>
Horst Gutmann <zerok@zerokspot.com> Horst Gutmann <zerok@zerokspot.com>
Bouke Haarsma <bouke@haarsma.eu>
Antti Haapala <antti@industrialwebandmagic.com> Antti Haapala <antti@industrialwebandmagic.com>
Scot Hacker <shacker@birdhouse.org> Scot Hacker <shacker@birdhouse.org>
dAniel hAhler dAniel hAhler
@ -380,6 +383,7 @@ answer newbie questions, and generally made Django that much better:
Christian Metts Christian Metts
michal@plovarna.cz michal@plovarna.cz
Slawek Mikula <slawek dot mikula at gmail dot com> Slawek Mikula <slawek dot mikula at gmail dot com>
Katie Miller <katie@sub50.com>
Shawn Milochik <shawn@milochik.com> Shawn Milochik <shawn@milochik.com>
mitakummaa@gmail.com mitakummaa@gmail.com
Taylor Mitchell <taylor.mitchell@gmail.com> Taylor Mitchell <taylor.mitchell@gmail.com>
@ -510,6 +514,7 @@ answer newbie questions, and generally made Django that much better:
Johan C. Stöver <johan@nilling.nl> Johan C. Stöver <johan@nilling.nl>
Nowell Strite <http://nowell.strite.org/> Nowell Strite <http://nowell.strite.org/>
Thomas Stromberg <tstromberg@google.com> Thomas Stromberg <tstromberg@google.com>
Ben Sturmfels <ben@sturm.com.au>
Travis Swicegood <travis@domain51.com> Travis Swicegood <travis@domain51.com>
Pascal Varet Pascal Varet
SuperJared SuperJared
@ -528,6 +533,7 @@ answer newbie questions, and generally made Django that much better:
Terry Huang <terryh.tp@gmail.com> Terry Huang <terryh.tp@gmail.com>
Travis Terry <tdterry7@gmail.com> Travis Terry <tdterry7@gmail.com>
thebjorn <bp@datakortet.no> thebjorn <bp@datakortet.no>
Lowe Thiderman <lowe.thiderman@gmail.com>
Zach Thompson <zthompson47@gmail.com> Zach Thompson <zthompson47@gmail.com>
Michael Thornhill <michael.thornhill@gmail.com> Michael Thornhill <michael.thornhill@gmail.com>
Deepak Thukral <deep.thukral@gmail.com> Deepak Thukral <deep.thukral@gmail.com>

View File

@ -10,7 +10,9 @@ recursive-include docs *
recursive-include scripts * recursive-include scripts *
recursive-include extras * recursive-include extras *
recursive-include tests * recursive-include tests *
recursive-include django/conf/app_template *
recursive-include django/conf/locale * recursive-include django/conf/locale *
recursive-include django/conf/project_template *
recursive-include django/contrib/*/locale * recursive-include django/contrib/*/locale *
recursive-include django/contrib/admin/templates * recursive-include django/contrib/admin/templates *
recursive-include django/contrib/admin/static * recursive-include django/contrib/admin/static *

View File

@ -1,4 +1,4 @@
VERSION = (1, 5, 0, 'alpha', 0) VERSION = (1, 5, 12, 'final', 0)
def get_version(*args, **kwargs): def get_version(*args, **kwargs):
# Don't litter django/__init__.py with all the get_version stuff. # Don't litter django/__init__.py with all the get_version stuff.

View File

@ -7,7 +7,13 @@ Can be run as a cronjob to clean out old data from the database (only expired
sessions at the moment). sessions at the moment).
""" """
import warnings
from django.core import management from django.core import management
if __name__ == "__main__": if __name__ == "__main__":
management.call_command('cleanup') warnings.warn(
"The `daily_cleanup` script has been deprecated "
"in favor of `django-admin.py clearsessions`.",
PendingDeprecationWarning)
management.call_command('clearsessions')

View File

@ -6,7 +6,9 @@ variable, and then from django.conf.global_settings; see the global settings fil
a list of all possible variables. a list of all possible variables.
""" """
import logging
import os import os
import sys
import time # Needed for Windows import time # Needed for Windows
import warnings import warnings
@ -55,6 +57,16 @@ class LazySettings(LazyObject):
""" """
Setup logging from LOGGING_CONFIG and LOGGING settings. Setup logging from LOGGING_CONFIG and LOGGING settings.
""" """
if not sys.warnoptions:
try:
# Route warnings through python logging
logging.captureWarnings(True)
# Allow DeprecationWarnings through the warnings filters
warnings.simplefilter("default", DeprecationWarning)
except AttributeError:
# No captureWarnings on Python 2.6, DeprecationWarnings are on anyway
pass
if self.LOGGING_CONFIG: if self.LOGGING_CONFIG:
from django.utils.log import DEFAULT_LOGGING from django.utils.log import DEFAULT_LOGGING
# First find the logging configuration function ... # First find the logging configuration function ...
@ -83,6 +95,7 @@ class LazySettings(LazyObject):
for name, value in options.items(): for name, value in options.items():
setattr(holder, name, value) setattr(holder, name, value)
self._wrapped = holder self._wrapped = holder
self._configure_logging()
@property @property
def configured(self): def configured(self):
@ -99,9 +112,6 @@ class BaseSettings(object):
def __setattr__(self, name, value): def __setattr__(self, name, value):
if name in ("MEDIA_URL", "STATIC_URL") and value and not value.endswith('/'): if name in ("MEDIA_URL", "STATIC_URL") and value and not value.endswith('/'):
raise ImproperlyConfigured("If set, %s must end with a slash" % name) raise ImproperlyConfigured("If set, %s must end with a slash" % name)
elif name == "ADMIN_MEDIA_PREFIX":
warnings.warn("The ADMIN_MEDIA_PREFIX setting has been removed; "
"use STATIC_URL instead.", DeprecationWarning)
elif name == "ALLOWED_INCLUDE_ROOTS" and isinstance(value, six.string_types): elif name == "ALLOWED_INCLUDE_ROOTS" and isinstance(value, six.string_types):
raise ValueError("The ALLOWED_INCLUDE_ROOTS setting must be set " raise ValueError("The ALLOWED_INCLUDE_ROOTS setting must be set "
"to a tuple, not a string.") "to a tuple, not a string.")

View File

@ -29,6 +29,10 @@ ADMINS = ()
# * Receive x-headers # * Receive x-headers
INTERNAL_IPS = () INTERNAL_IPS = ()
# Hosts/domain names that are valid for this site.
# "*" matches anything, ".example.com" matches example.com and all subdomains
ALLOWED_HOSTS = []
# Local time zone for this installation. All choices can be found here: # Local time zone for this installation. All choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name (although not all # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name (although not all
# systems may support all possibilities). When USE_TZ is True, this is # systems may support all possibilities). When USE_TZ is True, this is
@ -45,10 +49,13 @@ LANGUAGE_CODE = 'en-us'
# Languages we provide translations for, out of the box. The language name # Languages we provide translations for, out of the box. The language name
# should be the utf-8 encoded local name for the language. # should be the utf-8 encoded local name for the language.
LANGUAGES = ( LANGUAGES = (
('af', gettext_noop('Afrikaans')),
('ar', gettext_noop('Arabic')), ('ar', gettext_noop('Arabic')),
('az', gettext_noop('Azerbaijani')), ('az', gettext_noop('Azerbaijani')),
('bg', gettext_noop('Bulgarian')), ('bg', gettext_noop('Bulgarian')),
('be', gettext_noop('Belarusian')),
('bn', gettext_noop('Bengali')), ('bn', gettext_noop('Bengali')),
('br', gettext_noop('Breton')),
('bs', gettext_noop('Bosnian')), ('bs', gettext_noop('Bosnian')),
('ca', gettext_noop('Catalan')), ('ca', gettext_noop('Catalan')),
('cs', gettext_noop('Czech')), ('cs', gettext_noop('Czech')),
@ -63,6 +70,7 @@ LANGUAGES = (
('es-ar', gettext_noop('Argentinian Spanish')), ('es-ar', gettext_noop('Argentinian Spanish')),
('es-mx', gettext_noop('Mexican Spanish')), ('es-mx', gettext_noop('Mexican Spanish')),
('es-ni', gettext_noop('Nicaraguan Spanish')), ('es-ni', gettext_noop('Nicaraguan Spanish')),
('es-ve', gettext_noop('Venezuelan Spanish')),
('et', gettext_noop('Estonian')), ('et', gettext_noop('Estonian')),
('eu', gettext_noop('Basque')), ('eu', gettext_noop('Basque')),
('fa', gettext_noop('Persian')), ('fa', gettext_noop('Persian')),
@ -75,6 +83,7 @@ LANGUAGES = (
('hi', gettext_noop('Hindi')), ('hi', gettext_noop('Hindi')),
('hr', gettext_noop('Croatian')), ('hr', gettext_noop('Croatian')),
('hu', gettext_noop('Hungarian')), ('hu', gettext_noop('Hungarian')),
('ia', gettext_noop('Interlingua')),
('id', gettext_noop('Indonesian')), ('id', gettext_noop('Indonesian')),
('is', gettext_noop('Icelandic')), ('is', gettext_noop('Icelandic')),
('it', gettext_noop('Italian')), ('it', gettext_noop('Italian')),
@ -84,6 +93,7 @@ LANGUAGES = (
('km', gettext_noop('Khmer')), ('km', gettext_noop('Khmer')),
('kn', gettext_noop('Kannada')), ('kn', gettext_noop('Kannada')),
('ko', gettext_noop('Korean')), ('ko', gettext_noop('Korean')),
('lb', gettext_noop('Luxembourgish')),
('lt', gettext_noop('Lithuanian')), ('lt', gettext_noop('Lithuanian')),
('lv', gettext_noop('Latvian')), ('lv', gettext_noop('Latvian')),
('mk', gettext_noop('Macedonian')), ('mk', gettext_noop('Macedonian')),
@ -111,6 +121,7 @@ LANGUAGES = (
('th', gettext_noop('Thai')), ('th', gettext_noop('Thai')),
('tr', gettext_noop('Turkish')), ('tr', gettext_noop('Turkish')),
('tt', gettext_noop('Tatar')), ('tt', gettext_noop('Tatar')),
('udm', gettext_noop('Udmurt')),
('uk', gettext_noop('Ukrainian')), ('uk', gettext_noop('Ukrainian')),
('ur', gettext_noop('Urdu')), ('ur', gettext_noop('Urdu')),
('vi', gettext_noop('Vietnamese')), ('vi', gettext_noop('Vietnamese')),
@ -150,12 +161,8 @@ SERVER_EMAIL = 'root@localhost'
# Whether to send broken-link emails. # Whether to send broken-link emails.
SEND_BROKEN_LINK_EMAILS = False SEND_BROKEN_LINK_EMAILS = False
# Database connection info. # Database connection info. If left empty, will default to the dummy backend.
DATABASES = { DATABASES = {}
'default': {
'ENGINE': 'django.db.backends.dummy',
},
}
# Classes used to implement DB routing behavior. # Classes used to implement DB routing behavior.
DATABASE_ROUTERS = [] DATABASE_ROUTERS = []
@ -449,6 +456,7 @@ MIDDLEWARE_CLASSES = (
# SESSIONS # # SESSIONS #
############ ############
SESSION_CACHE_ALIAS = 'default' # Cache to store session data if using the cache session backend.
SESSION_COOKIE_NAME = 'sessionid' # Cookie name. This can be whatever you want. SESSION_COOKIE_NAME = 'sessionid' # Cookie name. This can be whatever you want.
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks). SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks).
SESSION_COOKIE_DOMAIN = None # A string like ".example.com", or None for standard domain cookie. SESSION_COOKIE_DOMAIN = None # A string like ".example.com", or None for standard domain cookie.
@ -459,6 +467,7 @@ SESSION_SAVE_EVERY_REQUEST = False # Whether to save the se
SESSION_EXPIRE_AT_BROWSER_CLOSE = False # Whether a user's session cookie expires when the Web browser is closed. SESSION_EXPIRE_AT_BROWSER_CLOSE = False # Whether a user's session cookie expires when the Web browser is closed.
SESSION_ENGINE = 'django.contrib.sessions.backends.db' # The module to store session data SESSION_ENGINE = 'django.contrib.sessions.backends.db' # The module to store session data
SESSION_FILE_PATH = None # Directory to store session files if using the file session module. If None, the backend will use a sensible default. SESSION_FILE_PATH = None # Directory to store session files if using the file session module. If None, the backend will use a sensible default.
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer' # class to serialize session data
######### #########
# CACHE # # CACHE #
@ -510,6 +519,7 @@ PASSWORD_HASHERS = (
'django.contrib.auth.hashers.BCryptPasswordHasher', 'django.contrib.auth.hashers.BCryptPasswordHasher',
'django.contrib.auth.hashers.SHA1PasswordHasher', 'django.contrib.auth.hashers.SHA1PasswordHasher',
'django.contrib.auth.hashers.MD5PasswordHasher', 'django.contrib.auth.hashers.MD5PasswordHasher',
'django.contrib.auth.hashers.UnsaltedSHA1PasswordHasher',
'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher', 'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher',
'django.contrib.auth.hashers.CryptPasswordHasher', 'django.contrib.auth.hashers.CryptPasswordHasher',
) )

View File

@ -1,6 +1,15 @@
from __future__ import unicode_literals from __future__ import unicode_literals
# About name_local: capitalize it as if your language name was appearing
# inside a sentence in your language.
LANG_INFO = { LANG_INFO = {
'af': {
'bidi': False,
'code': 'af',
'name': 'Afrikaans',
'name_local': 'Afrikaans',
},
'ar': { 'ar': {
'bidi': True, 'bidi': True,
'code': 'ar', 'code': 'ar',
@ -13,6 +22,12 @@ LANG_INFO = {
'name': 'Azerbaijani', 'name': 'Azerbaijani',
'name_local': 'az\u0259rbaycan dili', 'name_local': 'az\u0259rbaycan dili',
}, },
'be': {
'bidi': False,
'code': 'be',
'name': 'Belarusian',
'name_local': '\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f',
},
'bg': { 'bg': {
'bidi': False, 'bidi': False,
'code': 'bg', 'code': 'bg',
@ -25,6 +40,12 @@ LANG_INFO = {
'name': 'Bengali', 'name': 'Bengali',
'name_local': '\u09ac\u09be\u0982\u09b2\u09be', 'name_local': '\u09ac\u09be\u0982\u09b2\u09be',
}, },
'br': {
'bidi': False,
'code': 'br',
'name': 'Breton',
'name_local': 'brezhoneg',
},
'bs': { 'bs': {
'bidi': False, 'bidi': False,
'code': 'bs', 'code': 'bs',
@ -53,7 +74,7 @@ LANG_INFO = {
'bidi': False, 'bidi': False,
'code': 'da', 'code': 'da',
'name': 'Danish', 'name': 'Danish',
'name_local': 'Dansk', 'name_local': 'dansk',
}, },
'de': { 'de': {
'bidi': False, 'bidi': False,
@ -109,6 +130,12 @@ LANG_INFO = {
'name': 'Nicaraguan Spanish', 'name': 'Nicaraguan Spanish',
'name_local': 'espa\xf1ol de Nicaragua', 'name_local': 'espa\xf1ol de Nicaragua',
}, },
'es-ve': {
'bidi': False,
'code': 'es-ve',
'name': 'Venezuelan Spanish',
'name_local': 'espa\xf1ol de Venezuela',
},
'et': { 'et': {
'bidi': False, 'bidi': False,
'code': 'et', 'code': 'et',
@ -137,7 +164,7 @@ LANG_INFO = {
'bidi': False, 'bidi': False,
'code': 'fr', 'code': 'fr',
'name': 'French', 'name': 'French',
'name_local': 'Fran\xe7ais', 'name_local': 'fran\xe7ais',
}, },
'fy-nl': { 'fy-nl': {
'bidi': False, 'bidi': False,
@ -181,6 +208,12 @@ LANG_INFO = {
'name': 'Hungarian', 'name': 'Hungarian',
'name_local': 'Magyar', 'name_local': 'Magyar',
}, },
'ia': {
'bidi': False,
'code': 'ia',
'name': 'Interlingua',
'name_local': 'Interlingua',
},
'id': { 'id': {
'bidi': False, 'bidi': False,
'code': 'id', 'code': 'id',
@ -235,6 +268,12 @@ LANG_INFO = {
'name': 'Korean', 'name': 'Korean',
'name_local': '\ud55c\uad6d\uc5b4', 'name_local': '\ud55c\uad6d\uc5b4',
}, },
'lb': {
'bidi': False,
'code': 'lb',
'name': 'Luxembourgish',
'name_local': 'L\u00ebtzebuergesch',
},
'lt': { 'lt': {
'bidi': False, 'bidi': False,
'code': 'lt', 'code': 'lt',
@ -269,7 +308,7 @@ LANG_INFO = {
'bidi': False, 'bidi': False,
'code': 'nb', 'code': 'nb',
'name': 'Norwegian Bokmal', 'name': 'Norwegian Bokmal',
'name_local': 'Norsk (bokm\xe5l)', 'name_local': 'norsk (bokm\xe5l)',
}, },
'ne': { 'ne': {
'bidi': False, 'bidi': False,
@ -287,13 +326,13 @@ LANG_INFO = {
'bidi': False, 'bidi': False,
'code': 'nn', 'code': 'nn',
'name': 'Norwegian Nynorsk', 'name': 'Norwegian Nynorsk',
'name_local': 'Norsk (nynorsk)', 'name_local': 'norsk (nynorsk)',
}, },
'no': { 'no': {
'bidi': False, 'bidi': False,
'code': 'no', 'code': 'no',
'name': 'Norwegian', 'name': 'Norwegian',
'name_local': 'Norsk', 'name_local': 'norsk',
}, },
'pa': { 'pa': {
'bidi': False, 'bidi': False,
@ -365,7 +404,7 @@ LANG_INFO = {
'bidi': False, 'bidi': False,
'code': 'sv', 'code': 'sv',
'name': 'Swedish', 'name': 'Swedish',
'name_local': 'Svenska', 'name_local': 'svenska',
}, },
'sw': { 'sw': {
'bidi': False, 'bidi': False,
@ -403,6 +442,12 @@ LANG_INFO = {
'name': 'Tatar', 'name': 'Tatar',
'name_local': '\u0422\u0430\u0442\u0430\u0440\u0447\u0430', 'name_local': '\u0422\u0430\u0442\u0430\u0440\u0447\u0430',
}, },
'udm': {
'bidi': False,
'code': 'udm',
'name': 'Udmurt',
'name_local': '\u0423\u0434\u043c\u0443\u0440\u0442',
},
'uk': { 'uk': {
'bidi': False, 'bidi': False,
'code': 'uk', 'code': 'uk',

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -19,10 +19,6 @@ DATE_INPUT_FORMATS = (
# '31/12/2009', '31/12/09' # '31/12/2009', '31/12/09'
'%d/%m/%Y', '%d/%m/%y' '%d/%m/%Y', '%d/%m/%y'
) )
TIME_INPUT_FORMATS = (
# '14:30:59', '14:30'
'%H:%M:%S', '%H:%M'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', '%d/%m/%Y %H:%M:%S',
'%d/%m/%Y %H:%M', '%d/%m/%Y %H:%M',

File diff suppressed because it is too large Load Diff

View File

@ -17,21 +17,26 @@ FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax, # The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06' '%d.%m.%Y', '%d.%m.%y', # '05.01.2006', '05.01.06'
'%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25' '%d. %m. %Y', '%d. %m. %y', # '5. 1. 2006', '5. 1. 06'
# '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006' # '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006'
) )
# Kept ISO formats as one is in first position
TIME_INPUT_FORMATS = ( TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59' '%H:%M:%S', # '04:30:59'
'%H:%M', # '14:30' '%H.%M', # '04.30'
'%H:%M', # '04:30'
) )
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59' '%d.%m.%Y %H:%M:%S', # '05.01.2006 04:30:59'
'%d.%m.%Y %H:%M', # '25.10.2006 14:30' '%d.%m.%Y %H.%M', # '05.01.2006 04.30'
'%d.%m.%Y', # '25.10.2006' '%d.%m.%Y %H:%M', # '05.01.2006 04:30'
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' '%d.%m.%Y', # '05.01.2006'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30' '%d. %m. %Y %H:%M:%S', # '05. 01. 2006 04:30:59'
'%Y-%m-%d', # '2006-10-25' '%d. %m. %Y %H.%M', # '05. 01. 2006 04.30'
'%d. %m. %Y %H:%M', # '05. 01. 2006 04:30'
'%d. %m. %Y', # '05. 01. 2006'
'%Y-%m-%d %H.%M', # '2006-01-05 04.30'
) )
DECIMAL_SEPARATOR = ',' DECIMAL_SEPARATOR = ','
THOUSAND_SEPARATOR = '\xa0' # non-breaking space THOUSAND_SEPARATOR = '\xa0' # non-breaking space

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -18,10 +18,6 @@ FIRST_DAY_OF_WEEK = 1
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%d.%m.%Y', # '25.10.2006' '%d.%m.%Y', # '25.10.2006'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59' '%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59'
'%d.%m.%Y %H:%M', # '25.10.2006 14:30' '%d.%m.%Y %H:%M', # '25.10.2006 14:30'

File diff suppressed because it is too large Load Diff

View File

@ -17,20 +17,12 @@ FIRST_DAY_OF_WEEK = 1 # Monday
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06' '%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06'
'%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25'
# '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006' # '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59' '%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59'
'%d.%m.%Y %H:%M', # '25.10.2006 14:30' '%d.%m.%Y %H:%M', # '25.10.2006 14:30'
'%d.%m.%Y', # '25.10.2006' '%d.%m.%Y', # '25.10.2006'
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30'
'%Y-%m-%d', # '2006-10-25'
) )
DECIMAL_SEPARATOR = ',' DECIMAL_SEPARATOR = ','
THOUSAND_SEPARATOR = '.' THOUSAND_SEPARATOR = '.'

View File

@ -19,20 +19,12 @@ FIRST_DAY_OF_WEEK = 1 # Monday
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06' '%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06'
'%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25'
# '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006' # '%d. %B %Y', '%d. %b. %Y', # '25. October 2006', '25. Oct. 2006'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59' '%d.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59'
'%d.%m.%Y %H:%M', # '25.10.2006 14:30' '%d.%m.%Y %H:%M', # '25.10.2006 14:30'
'%d.%m.%Y', # '25.10.2006' '%d.%m.%Y', # '25.10.2006'
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30'
'%Y-%m-%d', # '2006-10-25'
) )
# these are the separators for non-monetary numbers. For monetary numbers, # these are the separators for non-monetary numbers. For monetary numbers,

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Django\n" "Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-15 10:55+0200\n" "POT-Creation-Date: 2013-01-01 16:10+0100\n"
"PO-Revision-Date: 2010-05-13 15:35+0200\n" "PO-Revision-Date: 2010-05-13 15:35+0200\n"
"Last-Translator: Django team\n" "Last-Translator: Django team\n"
"Language-Team: English <en@li.org>\n" "Language-Team: English <en@li.org>\n"
@ -14,286 +14,314 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: conf/global_settings.py:48 #: conf/global_settings.py:48
msgid "Arabic" msgid "Afrikaans"
msgstr "" msgstr ""
#: conf/global_settings.py:49 #: conf/global_settings.py:49
msgid "Azerbaijani" msgid "Arabic"
msgstr "" msgstr ""
#: conf/global_settings.py:50 #: conf/global_settings.py:50
msgid "Bulgarian" msgid "Azerbaijani"
msgstr "" msgstr ""
#: conf/global_settings.py:51 #: conf/global_settings.py:51
msgid "Bengali" msgid "Bulgarian"
msgstr "" msgstr ""
#: conf/global_settings.py:52 #: conf/global_settings.py:52
msgid "Bosnian" msgid "Belarusian"
msgstr "" msgstr ""
#: conf/global_settings.py:53 #: conf/global_settings.py:53
msgid "Catalan" msgid "Bengali"
msgstr "" msgstr ""
#: conf/global_settings.py:54 #: conf/global_settings.py:54
msgid "Czech" msgid "Breton"
msgstr "" msgstr ""
#: conf/global_settings.py:55 #: conf/global_settings.py:55
msgid "Welsh" msgid "Bosnian"
msgstr "" msgstr ""
#: conf/global_settings.py:56 #: conf/global_settings.py:56
msgid "Danish" msgid "Catalan"
msgstr "" msgstr ""
#: conf/global_settings.py:57 #: conf/global_settings.py:57
msgid "German" msgid "Czech"
msgstr "" msgstr ""
#: conf/global_settings.py:58 #: conf/global_settings.py:58
msgid "Greek" msgid "Welsh"
msgstr "" msgstr ""
#: conf/global_settings.py:59 #: conf/global_settings.py:59
msgid "English" msgid "Danish"
msgstr "" msgstr ""
#: conf/global_settings.py:60 #: conf/global_settings.py:60
msgid "British English" msgid "German"
msgstr "" msgstr ""
#: conf/global_settings.py:61 #: conf/global_settings.py:61
msgid "Esperanto" msgid "Greek"
msgstr "" msgstr ""
#: conf/global_settings.py:62 #: conf/global_settings.py:62
msgid "Spanish" msgid "English"
msgstr "" msgstr ""
#: conf/global_settings.py:63 #: conf/global_settings.py:63
msgid "Argentinian Spanish" msgid "British English"
msgstr "" msgstr ""
#: conf/global_settings.py:64 #: conf/global_settings.py:64
msgid "Mexican Spanish" msgid "Esperanto"
msgstr "" msgstr ""
#: conf/global_settings.py:65 #: conf/global_settings.py:65
msgid "Nicaraguan Spanish" msgid "Spanish"
msgstr "" msgstr ""
#: conf/global_settings.py:66 #: conf/global_settings.py:66
msgid "Estonian" msgid "Argentinian Spanish"
msgstr "" msgstr ""
#: conf/global_settings.py:67 #: conf/global_settings.py:67
msgid "Basque" msgid "Mexican Spanish"
msgstr "" msgstr ""
#: conf/global_settings.py:68 #: conf/global_settings.py:68
msgid "Persian" msgid "Nicaraguan Spanish"
msgstr "" msgstr ""
#: conf/global_settings.py:69 #: conf/global_settings.py:69
msgid "Finnish" msgid "Venezuelan Spanish"
msgstr "" msgstr ""
#: conf/global_settings.py:70 #: conf/global_settings.py:70
msgid "French" msgid "Estonian"
msgstr "" msgstr ""
#: conf/global_settings.py:71 #: conf/global_settings.py:71
msgid "Frisian" msgid "Basque"
msgstr "" msgstr ""
#: conf/global_settings.py:72 #: conf/global_settings.py:72
msgid "Irish" msgid "Persian"
msgstr "" msgstr ""
#: conf/global_settings.py:73 #: conf/global_settings.py:73
msgid "Galician" msgid "Finnish"
msgstr "" msgstr ""
#: conf/global_settings.py:74 #: conf/global_settings.py:74
msgid "Hebrew" msgid "French"
msgstr "" msgstr ""
#: conf/global_settings.py:75 #: conf/global_settings.py:75
msgid "Hindi" msgid "Frisian"
msgstr "" msgstr ""
#: conf/global_settings.py:76 #: conf/global_settings.py:76
msgid "Croatian" msgid "Irish"
msgstr "" msgstr ""
#: conf/global_settings.py:77 #: conf/global_settings.py:77
msgid "Hungarian" msgid "Galician"
msgstr "" msgstr ""
#: conf/global_settings.py:78 #: conf/global_settings.py:78
msgid "Indonesian" msgid "Hebrew"
msgstr "" msgstr ""
#: conf/global_settings.py:79 #: conf/global_settings.py:79
msgid "Icelandic" msgid "Hindi"
msgstr "" msgstr ""
#: conf/global_settings.py:80 #: conf/global_settings.py:80
msgid "Italian" msgid "Croatian"
msgstr "" msgstr ""
#: conf/global_settings.py:81 #: conf/global_settings.py:81
msgid "Japanese" msgid "Hungarian"
msgstr "" msgstr ""
#: conf/global_settings.py:82 #: conf/global_settings.py:82
msgid "Georgian" msgid "Interlingua"
msgstr "" msgstr ""
#: conf/global_settings.py:83 #: conf/global_settings.py:83
msgid "Kazakh" msgid "Indonesian"
msgstr "" msgstr ""
#: conf/global_settings.py:84 #: conf/global_settings.py:84
msgid "Khmer" msgid "Icelandic"
msgstr "" msgstr ""
#: conf/global_settings.py:85 #: conf/global_settings.py:85
msgid "Kannada" msgid "Italian"
msgstr "" msgstr ""
#: conf/global_settings.py:86 #: conf/global_settings.py:86
msgid "Korean" msgid "Japanese"
msgstr "" msgstr ""
#: conf/global_settings.py:87 #: conf/global_settings.py:87
msgid "Lithuanian" msgid "Georgian"
msgstr "" msgstr ""
#: conf/global_settings.py:88 #: conf/global_settings.py:88
msgid "Latvian" msgid "Kazakh"
msgstr "" msgstr ""
#: conf/global_settings.py:89 #: conf/global_settings.py:89
msgid "Macedonian" msgid "Khmer"
msgstr "" msgstr ""
#: conf/global_settings.py:90 #: conf/global_settings.py:90
msgid "Malayalam" msgid "Kannada"
msgstr "" msgstr ""
#: conf/global_settings.py:91 #: conf/global_settings.py:91
msgid "Mongolian" msgid "Korean"
msgstr "" msgstr ""
#: conf/global_settings.py:92 #: conf/global_settings.py:92
msgid "Norwegian Bokmal" msgid "Luxembourgish"
msgstr "" msgstr ""
#: conf/global_settings.py:93 #: conf/global_settings.py:93
msgid "Nepali" msgid "Lithuanian"
msgstr "" msgstr ""
#: conf/global_settings.py:94 #: conf/global_settings.py:94
msgid "Dutch" msgid "Latvian"
msgstr "" msgstr ""
#: conf/global_settings.py:95 #: conf/global_settings.py:95
msgid "Norwegian Nynorsk" msgid "Macedonian"
msgstr "" msgstr ""
#: conf/global_settings.py:96 #: conf/global_settings.py:96
msgid "Punjabi" msgid "Malayalam"
msgstr "" msgstr ""
#: conf/global_settings.py:97 #: conf/global_settings.py:97
msgid "Polish" msgid "Mongolian"
msgstr "" msgstr ""
#: conf/global_settings.py:98 #: conf/global_settings.py:98
msgid "Portuguese" msgid "Norwegian Bokmal"
msgstr "" msgstr ""
#: conf/global_settings.py:99 #: conf/global_settings.py:99
msgid "Brazilian Portuguese" msgid "Nepali"
msgstr "" msgstr ""
#: conf/global_settings.py:100 #: conf/global_settings.py:100
msgid "Romanian" msgid "Dutch"
msgstr "" msgstr ""
#: conf/global_settings.py:101 #: conf/global_settings.py:101
msgid "Russian" msgid "Norwegian Nynorsk"
msgstr "" msgstr ""
#: conf/global_settings.py:102 #: conf/global_settings.py:102
msgid "Slovak" msgid "Punjabi"
msgstr "" msgstr ""
#: conf/global_settings.py:103 #: conf/global_settings.py:103
msgid "Slovenian" msgid "Polish"
msgstr "" msgstr ""
#: conf/global_settings.py:104 #: conf/global_settings.py:104
msgid "Albanian" msgid "Portuguese"
msgstr "" msgstr ""
#: conf/global_settings.py:105 #: conf/global_settings.py:105
msgid "Serbian" msgid "Brazilian Portuguese"
msgstr "" msgstr ""
#: conf/global_settings.py:106 #: conf/global_settings.py:106
msgid "Serbian Latin" msgid "Romanian"
msgstr "" msgstr ""
#: conf/global_settings.py:107 #: conf/global_settings.py:107
msgid "Swedish" msgid "Russian"
msgstr "" msgstr ""
#: conf/global_settings.py:108 #: conf/global_settings.py:108
msgid "Swahili" msgid "Slovak"
msgstr "" msgstr ""
#: conf/global_settings.py:109 #: conf/global_settings.py:109
msgid "Tamil" msgid "Slovenian"
msgstr "" msgstr ""
#: conf/global_settings.py:110 #: conf/global_settings.py:110
msgid "Telugu" msgid "Albanian"
msgstr "" msgstr ""
#: conf/global_settings.py:111 #: conf/global_settings.py:111
msgid "Thai" msgid "Serbian"
msgstr "" msgstr ""
#: conf/global_settings.py:112 #: conf/global_settings.py:112
msgid "Turkish" msgid "Serbian Latin"
msgstr "" msgstr ""
#: conf/global_settings.py:113 #: conf/global_settings.py:113
msgid "Tatar" msgid "Swedish"
msgstr "" msgstr ""
#: conf/global_settings.py:114 #: conf/global_settings.py:114
msgid "Ukrainian" msgid "Swahili"
msgstr "" msgstr ""
#: conf/global_settings.py:115 #: conf/global_settings.py:115
msgid "Urdu" msgid "Tamil"
msgstr "" msgstr ""
#: conf/global_settings.py:116 #: conf/global_settings.py:116
msgid "Vietnamese" msgid "Telugu"
msgstr "" msgstr ""
#: conf/global_settings.py:117 #: conf/global_settings.py:117
msgid "Simplified Chinese" msgid "Thai"
msgstr "" msgstr ""
#: conf/global_settings.py:118 #: conf/global_settings.py:118
msgid "Turkish"
msgstr ""
#: conf/global_settings.py:119
msgid "Tatar"
msgstr ""
#: conf/global_settings.py:120
msgid "Udmurt"
msgstr ""
#: conf/global_settings.py:121
msgid "Ukrainian"
msgstr ""
#: conf/global_settings.py:122
msgid "Urdu"
msgstr ""
#: conf/global_settings.py:123
msgid "Vietnamese"
msgstr ""
#: conf/global_settings.py:124
msgid "Simplified Chinese"
msgstr ""
#: conf/global_settings.py:125
msgid "Traditional Chinese" msgid "Traditional Chinese"
msgstr "" msgstr ""
@ -355,16 +383,16 @@ msgid ""
"%(show_value)d)." "%(show_value)d)."
msgstr "" msgstr ""
#: db/models/base.py:843 #: db/models/base.py:857
#, python-format #, python-format
msgid "%(field_name)s must be unique for %(date_field)s %(lookup)s." msgid "%(field_name)s must be unique for %(date_field)s %(lookup)s."
msgstr "" msgstr ""
#: db/models/base.py:866 forms/models.py:573 #: db/models/base.py:880 forms/models.py:573
msgid "and" msgid "and"
msgstr "" msgstr ""
#: db/models/base.py:867 db/models/fields/__init__.py:70 #: db/models/base.py:881 db/models/fields/__init__.py:70
#, python-format #, python-format
msgid "%(model_name)s with this %(field_label)s already exists." msgid "%(model_name)s with this %(field_label)s already exists."
msgstr "" msgstr ""
@ -536,37 +564,32 @@ msgstr ""
msgid "URL" msgid "URL"
msgstr "" msgstr ""
#: db/models/fields/files.py:211 #: db/models/fields/files.py:216
#, python-format
msgid "Filename is %(extra)d characters too long."
msgstr ""
#: db/models/fields/files.py:221
msgid "File" msgid "File"
msgstr "" msgstr ""
#: db/models/fields/files.py:347 #: db/models/fields/files.py:323
msgid "Image" msgid "Image"
msgstr "" msgstr ""
#: db/models/fields/related.py:950 #: db/models/fields/related.py:979
#, python-format #, python-format
msgid "Model %(model)s with pk %(pk)r does not exist." msgid "Model %(model)s with pk %(pk)r does not exist."
msgstr "" msgstr ""
#: db/models/fields/related.py:952 #: db/models/fields/related.py:981
msgid "Foreign Key (type determined by related field)" msgid "Foreign Key (type determined by related field)"
msgstr "" msgstr ""
#: db/models/fields/related.py:1082 #: db/models/fields/related.py:1111
msgid "One-to-one relationship" msgid "One-to-one relationship"
msgstr "" msgstr ""
#: db/models/fields/related.py:1149 #: db/models/fields/related.py:1178
msgid "Many-to-many relationship" msgid "Many-to-many relationship"
msgstr "" msgstr ""
#: db/models/fields/related.py:1174 #: db/models/fields/related.py:1203
msgid "" msgid ""
"Hold down \"Control\", or \"Command\" on a Mac, to select more than one." "Hold down \"Control\", or \"Command\" on a Mac, to select more than one."
msgstr "" msgstr ""
@ -647,15 +670,15 @@ msgstr ""
msgid "Select a valid choice. %(value)s is not one of the available choices." msgid "Select a valid choice. %(value)s is not one of the available choices."
msgstr "" msgstr ""
#: forms/fields.py:747 forms/fields.py:835 forms/models.py:999 #: forms/fields.py:747 forms/fields.py:835 forms/models.py:1002
msgid "Enter a list of values." msgid "Enter a list of values."
msgstr "" msgstr ""
#: forms/formsets.py:323 forms/formsets.py:325 #: forms/formsets.py:324 forms/formsets.py:326
msgid "Order" msgid "Order"
msgstr "" msgstr ""
#: forms/formsets.py:327 #: forms/formsets.py:328
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
@ -680,20 +703,20 @@ msgstr ""
msgid "Please correct the duplicate values below." msgid "Please correct the duplicate values below."
msgstr "" msgstr ""
#: forms/models.py:849 #: forms/models.py:852
msgid "The inline foreign key did not match the parent instance primary key." msgid "The inline foreign key did not match the parent instance primary key."
msgstr "" msgstr ""
#: forms/models.py:910 #: forms/models.py:913
msgid "Select a valid choice. That choice is not one of the available choices." msgid "Select a valid choice. That choice is not one of the available choices."
msgstr "" msgstr ""
#: forms/models.py:1000 #: forms/models.py:1003
#, python-format #, python-format
msgid "Select a valid choice. %s is not one of the available choices." msgid "Select a valid choice. %s is not one of the available choices."
msgstr "" msgstr ""
#: forms/models.py:1002 #: forms/models.py:1005
#, python-format #, python-format
msgid "\"%s\" is not a valid value for a primary key." msgid "\"%s\" is not a valid value for a primary key."
msgstr "" msgstr ""
@ -717,15 +740,15 @@ msgstr ""
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
#: forms/widgets.py:591 #: forms/widgets.py:594
msgid "Unknown" msgid "Unknown"
msgstr "" msgstr ""
#: forms/widgets.py:592 #: forms/widgets.py:595
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: forms/widgets.py:593 #: forms/widgets.py:596
msgid "No" msgid "No"
msgstr "" msgstr ""
@ -1126,11 +1149,11 @@ msgstr ""
msgid ", %(number)d %(type)s" msgid ", %(number)d %(type)s"
msgstr "" msgstr ""
#: views/static.py:55 #: views/static.py:56
msgid "Directory indexes are not allowed here." msgid "Directory indexes are not allowed here."
msgstr "" msgstr ""
#: views/static.py:57 #: views/static.py:58
#, python-format #, python-format
msgid "\"%(path)s\" does not exist" msgid "\"%(path)s\" does not exist"
msgstr "" msgstr ""
@ -1178,16 +1201,16 @@ msgstr ""
msgid "No %(verbose_name)s found matching the query" msgid "No %(verbose_name)s found matching the query"
msgstr "" msgstr ""
#: views/generic/list.py:49 #: views/generic/list.py:51
msgid "Page is not 'last', nor can it be converted to an int." msgid "Page is not 'last', nor can it be converted to an int."
msgstr "" msgstr ""
#: views/generic/list.py:54 #: views/generic/list.py:56
#, python-format #, python-format
msgid "Invalid page (%(page_number)s)" msgid "Invalid page (%(page_number)s): %(message)s"
msgstr "" msgstr ""
#: views/generic/list.py:134 #: views/generic/list.py:137
#, python-format #, python-format
msgid "Empty list and '%(class_name)s.allow_empty' is False." msgid "Empty list and '%(class_name)s.allow_empty' is False."
msgstr "" msgstr ""

View File

@ -15,6 +15,7 @@ FIRST_DAY_OF_WEEK = 0 # Sunday
# The *_INPUT_FORMATS strings use the Python strftime format syntax, # The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# Kept ISO formats as they are in first position
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06' '%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'
# '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006' # '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'
@ -22,10 +23,6 @@ DATE_INPUT_FORMATS = (
# '%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006' # '%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006'
# '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006' # '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30' '%Y-%m-%d %H:%M', # '2006-10-25 14:30'

File diff suppressed because it is too large Load Diff

View File

@ -17,16 +17,11 @@ FIRST_DAY_OF_WEEK = 0 # Sunday
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06' '%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
'%Y-%m-%d', # '2006-10-25'
# '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006' # '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'
# '%d %b %Y', '%d %b, %Y', # '25 Oct 2006', '25 Oct, 2006' # '%d %b %Y', '%d %b, %Y', # '25 Oct 2006', '25 Oct, 2006'
# '%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006' # '%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006'
# '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006' # '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30' '%Y-%m-%d %H:%M', # '2006-10-25 14:30'

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -19,10 +19,6 @@ DATE_INPUT_FORMATS = (
# '31/12/2009', '31/12/09' # '31/12/2009', '31/12/09'
'%d/%m/%Y', '%d/%m/%y' '%d/%m/%Y', '%d/%m/%y'
) )
TIME_INPUT_FORMATS = (
# '14:30:59', '14:30'
'%H:%M:%S', '%H:%M'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', '%d/%m/%Y %H:%M:%S',
'%d/%m/%Y %H:%M', '%d/%m/%Y %H:%M',

File diff suppressed because it is too large Load Diff

View File

@ -19,10 +19,6 @@ DATE_INPUT_FORMATS = (
'%d/%m/%Y', # '31/12/2009' '%d/%m/%Y', # '31/12/2009'
'%d/%m/%y', # '31/12/09' '%d/%m/%y', # '31/12/09'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', '%d/%m/%Y %H:%M:%S',
'%d/%m/%Y %H:%M', '%d/%m/%Y %H:%M',

File diff suppressed because it is too large Load Diff

View File

@ -15,9 +15,6 @@ DATE_INPUT_FORMATS = (
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06' '%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
'%Y%m%d', # '20061025' '%Y%m%d', # '20061025'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', '%H:%M', # '14:30:59', '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', '%d/%m/%Y %H:%M:%S',
'%d/%m/%Y %H:%M', '%d/%m/%Y %H:%M',

View File

@ -15,9 +15,6 @@ DATE_INPUT_FORMATS = (
'%Y%m%d', # '20061025' '%Y%m%d', # '20061025'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', '%H:%M', # '14:30:59', '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', '%d/%m/%Y %H:%M:%S',
'%d/%m/%Y %H:%M', '%d/%m/%Y %H:%M',

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -19,13 +19,8 @@ FIRST_DAY_OF_WEEK = 1 # Monday
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06' '%d/%m/%Y', '%d/%m/%y', # '25/10/2006', '25/10/06'
'%d.%m.%Y', '%d.%m.%y', # Swiss (fr_CH), '25.10.2006', '25.10.06' '%d.%m.%Y', '%d.%m.%y', # Swiss (fr_CH), '25.10.2006', '25.10.06'
'%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25'
# '%d %B %Y', '%d %b %Y', # '25 octobre 2006', '25 oct. 2006' # '%d %B %Y', '%d %b %Y', # '25 octobre 2006', '25 oct. 2006'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', # '25/10/2006 14:30:59' '%d/%m/%Y %H:%M:%S', # '25/10/2006 14:30:59'
'%d/%m/%Y %H:%M', # '25/10/2006 14:30' '%d/%m/%Y %H:%M', # '25/10/2006 14:30'
@ -33,9 +28,6 @@ DATETIME_INPUT_FORMATS = (
'%d.%m.%Y %H:%M:%S', # Swiss (fr_CH), '25.10.2006 14:30:59' '%d.%m.%Y %H:%M:%S', # Swiss (fr_CH), '25.10.2006 14:30:59'
'%d.%m.%Y %H:%M', # Swiss (fr_CH), '25.10.2006 14:30' '%d.%m.%Y %H:%M', # Swiss (fr_CH), '25.10.2006 14:30'
'%d.%m.%Y', # Swiss (fr_CH), '25.10.2006' '%d.%m.%Y', # Swiss (fr_CH), '25.10.2006'
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30'
'%Y-%m-%d', # '2006-10-25'
) )
DECIMAL_SEPARATOR = ',' DECIMAL_SEPARATOR = ','
THOUSAND_SEPARATOR = '\xa0' # non-breaking space THOUSAND_SEPARATOR = '\xa0' # non-breaking space

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -15,15 +15,12 @@ FIRST_DAY_OF_WEEK = 1
# The *_INPUT_FORMATS strings use the Python strftime format syntax, # The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
# Kept ISO formats as they are in first position
DATE_INPUT_FORMATS = ( DATE_INPUT_FORMATS = (
'%Y-%m-%d', # '2006-10-25' '%Y-%m-%d', # '2006-10-25'
'%d.%m.%Y.', '%d.%m.%y.', # '25.10.2006.', '25.10.06.' '%d.%m.%Y.', '%d.%m.%y.', # '25.10.2006.', '25.10.06.'
'%d. %m. %Y.', '%d. %m. %y.', # '25. 10. 2006.', '25. 10. 06.' '%d. %m. %Y.', '%d. %m. %y.', # '25. 10. 2006.', '25. 10. 06.'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%M', # '2006-10-25 14:30' '%Y-%m-%d %H:%M', # '2006-10-25 14:30'

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -20,10 +20,6 @@ DATE_INPUT_FORMATS = (
'%d-%m-%Y', '%Y-%m-%d', # '25-10-2006', '2008-10-25' '%d-%m-%Y', '%Y-%m-%d', # '25-10-2006', '2008-10-25'
'%d-%m-%y', '%d/%m/%y', # '25-10-06', '25/10/06' '%d-%m-%y', '%d/%m/%y', # '25-10-06', '25/10/06'
) )
TIME_INPUT_FORMATS = (
'%H:%M:%S', # '14:30:59'
'%H:%M', # '14:30'
)
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%d/%m/%Y %H:%M:%S', # '25/10/2006 14:30:59' '%d/%m/%Y %H:%M:%S', # '25/10/2006 14:30:59'
'%d/%m/%Y %H:%M', # '25/10/2006 14:30' '%d/%m/%Y %H:%M', # '25/10/2006 14:30'

Some files were not shown because too many files have changed in this diff Show More