Curtis Maloney
7c6f2ddcd9
Simplify FilterExpression.args_check
2013-09-09 09:03:50 -04:00
Daniel Boeve
6dca603abb
Fixed #20889 -- Prevented email.Header from inserting newlines
...
Passed large maxlinelen to email.Header to prevent newlines from being
inserted into value returned by _convert_to_charset
Thanks mjl at laubach.at for the report.
2013-09-09 08:47:41 -04:00
Tim Graham
aeed2cf3b2
Added a test to show that the user.is_staff check in admin base.html is necessary.
...
refs #21067
2013-09-09 07:59:35 -04:00
Baptiste Mispelon
28a571348b
Fix #20745 : Don't silence TypeError raised inside templates.
...
Thanks to robin for the report and claudep for the review.
2013-09-08 22:05:35 +02:00
Alex Gaynor
9d11522599
Removed some more unused local vars
2013-09-08 12:20:01 -07:00
Aymeric Augustin
c687bf0620
Further hardening. Refs #18766 .
2013-09-08 20:43:04 +02:00
Aymeric Augustin
1a1e14786a
Hardened the test introduced in ded11aa6
. Refs #18766 .
...
Inputs acceptable to time.mktime are platform-dependent.
2013-09-08 19:40:42 +02:00
Alex Gaynor
96fd5557f9
Removed a ton of unused local vars
2013-09-08 08:05:16 -07:00
Alex Gaynor
0ee8aa5c39
Removed an unused local var
2013-09-08 07:42:16 -07:00
Aymeric Augustin
fa7bc24671
Repositioned two paragraphs in the release notes.
2013-09-08 11:23:37 +02:00
Aymeric Augustin
ded11aa620
Fixed #18766 -- Pointed to pytz when LocalTimezone fails.
...
Thanks void for the report.
2013-09-08 02:04:43 -05:00
Pablo Mouzo
b11564fd36
Fixed #16869 -- BaseGenericInlineFormSet.save_new should use form's save() method
...
Thanks mattaustin for the report and Pablo Recio (pyriku) for the patch.
2013-09-07 20:00:38 -04:00
Alex Gaynor
c348550d35
Fixed some flake8 warnings
2013-09-07 15:36:00 -07:00
Tim Graham
e4b012feeb
Fixed #21068 -- Added some docs for DiscoverRunner
...
Thanks jcd.
2013-09-07 16:10:07 -04:00
Juan Catalano
04415bf81b
Fixed #21013 -- Ensure that ModelAdmin.get_queryset is considered for the admin history view.
2013-09-07 14:53:29 -05:00
Aymeric Augustin
e192739b3e
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
2013-09-07 14:08:54 -05:00
Aymeric Augustin
31e16c1343
Negligible style fix.
2013-09-07 13:48:37 -05:00
Alex Gaynor
9dcd537b72
Merge pull request #1594 from garrypolley/patch-1
...
adding myself to authors file
2013-09-07 11:17:16 -07:00
Garry Polley
6d2be870d7
adding myself to authors file
...
Alex requested I add myself in IRC, so I am. =)
2013-09-07 13:16:36 -05:00
Alex Gaynor
907f19eba7
Merge pull request #1565 from garrypolley/#19988-ordinal-html-i18n-fix
...
fixes #19988 , allow html in ordinal for humanize
2013-09-07 11:13:55 -07:00
Tim Graham
a86ecc80a2
Fixed #20005 -- Documented that Oracle databases need execute permission on SYS.DBMS_LOB.
...
Thanks jafula for the suggestion.
2013-09-07 13:59:57 -04:00
Jacob Kaplan-Moss
a44cbca2a5
Added a note about LTS releases.
2013-09-07 12:47:48 -05:00
Julien Phalip
8ef060e0e6
Fixed a test failure introduced in 55a11683f7
.
2013-09-07 12:41:33 -05:00
Rodolfo
d34b94b00f
Fixed #20876 -- Changed Poll model name in tutorial to Question
2013-09-07 13:37:09 -04:00
Julien Phalip
55a11683f7
Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly considered by the admin's interface when creating related objects.
...
Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
2013-09-07 12:14:07 -05:00
Tim Graham
4e784f337c
Fixed #20938 -- Added cached sessions note to deployment checklist.
...
Thanks mjtamlyn for the suggestion.
2013-09-07 12:58:49 -04:00
Aymeric Augustin
65b6eff322
Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3.
...
Thanks mitsuhiko for the report.
This commit just adds a test since the problem was fixed in 8aaca651
.
2013-09-07 11:47:38 -05:00
Tim Graham
ff49449425
Merge pull request #1592 from pablomouzo/fix-admin-view-response-methods-docs
...
Improved docs for `contrib.admin.options.ModelAdmin.response_*`
2013-09-07 09:38:48 -07:00
Pablo Mouzo
2223b83a55
Improved docs for `contrib.admin.options.ModelAdmin.response_*`
...
Added links to code references in the docs for `response_add`,
`response_change` and `response_delete`.
2013-09-07 11:33:10 -05:00
Aymeric Augustin
476b07641c
Oops :(
2013-09-07 11:32:39 -05:00
Aymeric Augustin
7bb6279360
Fixed an encoding issue in the test client.
...
Fixed
comment_tests.tests.test_comment_view.CommentViewTests.testCommentPostRedirectWithInvalidIntegerPK.
Refs #20530 .
2013-09-07 11:31:08 -05:00
Keith Edmiston
c54fa1a7bc
Fixed 16992 -- Added InnoDB warning regarding reuse of AUTO_INCREMENT values.
...
Thanks kent at nsc.liu.se for the report.
2013-09-07 12:13:45 -04:00
Andrew Godwin
bacbbb481d
RunSQL migration operation and alpha SeparateDatabaseAndState op'n.
2013-09-07 11:03:38 -05:00
Pablo Mouzo
9079436b00
Add docs for `response_add`, `response_change` and `response_delete`
2013-09-07 11:01:35 -05:00
Pablo Mouzo
73de9dd1fa
Add `response_delete` and `render_delete_form` methods to `ModelAdmin`
...
This make it easier to control the delete flow.
2013-09-07 10:59:49 -05:00
Aymeric Augustin
f5add4712f
Fixed tests introduced in previous commit on Python 2. Refs #20557 .
2013-09-07 10:43:44 -05:00
Aymeric Augustin
8aaca651cf
Fixed #20557 -- Properly decoded non-ASCII cookies on Python 3.
...
Thanks mitsuhiko for the report.
Non-ASCII values are supported. Non-ASCII keys still aren't, because the
current parser mangles them. That's another bug.
2013-09-07 10:25:43 -05:00
Aymeric Augustin
ae7f9afaf6
Minor cleanup in the WSGI handler.
2013-09-07 10:25:16 -05:00
Aymeric Augustin
4e88d106dc
Refactored the unmangling of the WSGI environ.
2013-09-07 10:03:50 -05:00
Aymeric Augustin
636860fbfb
Moved two WSGI-specific functions to the WSGI handler.
...
They were defined in base when the mod_python handler used them. See bfcecbff
.
2013-09-07 10:03:49 -05:00
Loic Bistuer
ec47de77d6
Fixed regression introduced by a962286
, changed ugettext to ugettext_lazy.
2013-09-07 08:09:13 -04:00
Alex Gaynor
97a626d898
Fixed this syntax error on py32
2013-09-06 21:56:57 -07:00
Alex Gaynor
2530735d2d
Fixed a number of flake8 errors -- particularly around unused imports and local variables
2013-09-06 21:56:40 -07:00
Aymeric Augustin
a9589dd280
Fixed #21032 -- pip 1.4 can't install pytz.
2013-09-06 22:11:55 -05:00
Loic Bistuer
37d46b20fc
Fixed regression introduced by efd1e60
, 'map' returns an iterator on PY3.
2013-09-07 08:00:11 +07:00
Eric Boersma
ded40142a9
Fixed #20007 -- Configured psycopg2 to return UnicodeArrays
...
Thanks hogbait for the report.
2013-09-06 20:43:58 -04:00
Russell Keith-Magee
926bc421d9
Merge pull request #1566 from adamsc64/ticket_11857
...
Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.
2013-09-06 17:38:37 -07:00
Christopher Adams
0756a4d664
Added Christopher Adams to the AUTHORS file.
...
- Note that 'Chris Adams' and 'Christopher Adams' are two different
contributors.
2013-09-06 20:36:42 -04:00
Tim Graham
b7451b72ed
Fixed deprecation warning on Python 3
2013-09-06 20:36:17 -04:00
Loic Bistuer
adc0ab3386
Fixed #21037 -- Made MigrationWriter raise a ValueError when serializing lambda functions.
2013-09-06 20:13:01 -04:00