Greg Chapple
b1d10205ce
Added tests for django.contrib.admindocs
...
Refs #22015
2014-02-23 21:36:25 +01:00
Claude Paroz
27e9069710
Allowed some auth tests to be run independently
2014-02-23 20:05:45 +01:00
Alex Gaynor
a8a5c31966
Two whitespace changes to appease flake8
2014-02-23 11:07:52 -06:00
Daniele Procida
4f7b7ef683
Merge pull request #2363 from nheyning/22019_add_objects_doc
...
Fixed #22019 -- added documentation on Model attributes
2014-02-23 17:35:43 +01:00
Nicolaas Heyning
e1d2a0bd04
added documentation on Model attributes
2014-02-23 17:16:12 +01:00
Alex de Landgraaf
b645be80e9
Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation
2014-02-23 13:45:52 +01:00
Patrick Robertson
6d18ab01d9
Removed incorrect statement from docstring
...
The docstring of FilterExpression said that it shouldn't be
instantiated from anywhere but the get_filters_from_token
helper function.
However, that helper function was deleted in commit
3ede006fc9
and FilterExpression
is instantiated from inside the compile_filter help function.
2014-02-23 12:33:29 +01:00
Baptiste Mispelon
072fb923e1
Fixed #21881 -- Clarify behavior of {% ssi %} template tag.
...
When using the `parsed` option, {% ssi %} has the same limitation
as {% include %}, namely that the rendering of the included
template is done separately.
Thanks to trac user nagyv for the report and to alextreme for
the patch.
2014-02-23 12:00:24 +01:00
Andrew Gorcester
202bf69c2f
Fixed #22095 -- Enabled backward migrations for RunPython operations
...
Added reversible property to RunPython so that migrations will not
refuse to reverse migrations including RunPython operations, so long as
reverse_code is set in the RunPython constructor. Included tests to
check the reversible property on RunPython and the similar RunSQL.
2014-02-23 09:30:02 +01:00
Marcin Sokół
b887408486
Fixed #22113 -- changed object_name to model_name in CBV docs.
...
Thanks to trac user nikunj.sg for the report.
2014-02-22 23:36:54 +01:00
Baptiste Mispelon
7e1376c2b0
Fixed #21741 -- Fixed render_to_string to stop pushing empty dictionaries to its Context
...
Thanks to kezabelle for the report and original patch
and to numerodix for his improved patch.
2014-02-22 23:33:48 +01:00
Baptiste Mispelon
1d3ae4760b
Fixed warnings when building the documentation.
2014-02-22 21:43:50 +01:00
Greg Chapple
ede99f0ec3
Fixed #22032 -- added documentation for settings.MIGRATION_MODULES
2014-02-22 20:14:41 +01:00
Alex Gaynor
2798e63fa1
Extra new line to make flake8 happy
2014-02-22 11:50:19 -06:00
Jochem Oosterveen
271929dd9d
Fixed #22092 -- Documented ResolverMatch.view_name
2014-02-22 18:31:40 +01:00
Erik Romijn
8cd32f0965
Fixed #22120 -- Documented persistent activation of languages and cleaned up language session key use
2014-02-22 18:29:06 +01:00
Marcin Sokół
09b725f51b
Fixed #21902 -- Documented search order for list_display.
2014-02-22 18:11:43 +01:00
Erik Romijn
98f13762d7
Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses
2014-02-22 17:45:33 +01:00
Baptiste Mispelon
173aa51997
Fixed #21435 -- Improved error message when urlconf is empty.
...
The new error message now hints that the most likely issue
is a circular import.
Thanks to trac user elena for the report and to
bpeschier for the original patch.
2014-02-22 15:36:49 +01:00
Martin Matusiak
d399731bf2
Fixed #22007 -- Fixed cbv docs - make imports consistent
...
Thanks to trac user kinjal.dixit for the report.
2014-02-22 14:39:09 +01:00
Baptiste Mispelon
926e18d7d1
Deprecated django.utils.text.javascript_quote.
...
Refs #21725 .
2014-02-22 13:50:12 +01:00
Baptiste Mispelon
847171b0d0
Fixed test failures when running in a narrow Python build.
2014-02-22 13:50:12 +01:00
Baptiste Mispelon
cd027aaadf
Added some tests for #21725 .
2014-02-22 13:50:12 +01:00
Bas Peschier
578bdb532c
Added tests and minified javascript missing in 83a3add4be
.
...
Refs #22038 .
2014-02-22 13:26:29 +01:00
Alasdair Nicol
462edd22e5
Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index
...
Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.
Thanks nikunj.sg for the report
2014-02-21 22:23:06 +01:00
Alex Gaynor
476abc7ea7
Merge pull request #2333 from davesque/sql-doc-fixes
...
Capitalize SQL keywords
2014-02-20 10:38:01 -08:00
David Sanders
adcedfe8ba
Capitalize SQL keywords
2014-02-20 11:32:04 -07:00
Alex Gaynor
c03edb58f1
Merge pull request #2332 from davesque/sql-doc-fixes
...
Capitalize SQL keywords
2014-02-20 10:28:23 -08:00
David Sanders
6dfd02f88c
Capitalize SQL keywords
2014-02-20 11:26:59 -07:00
Baptiste Mispelon
3841feee86
Fixed #22107 -- Fixed django.core.files.File object iteration.
...
Due to a mixup between text and bytes, iteration over
a File instance was broken under Python 3.
Thanks to trac user pdewacht for the report and patch.
2014-02-20 19:13:25 +01:00
Claude Paroz
cb844497d0
Fixed #22097 -- Fixed change detection for TypedChoiceField
...
Thanks Igor Mitrenko for the report.
2014-02-20 13:40:42 +01:00
Tim Graham
821fc925f0
Fixed #22093 -- Made Form.Meta.fields examples consistent.
...
Thanks david-schultz at gmx.net for the suggestion.
2014-02-19 12:29:47 -05:00
Loic Bistuer
99416c7ad0
Added an example to the release notes for custom reverse managers.
2014-02-19 07:45:24 -05:00
Baptiste Darthenay
b4f21d1807
Fixed #19647 -- Added formats.py for Esperanto.
...
Thanks to Objectivesea and Guttorm Flatabø (dittaeva)!
2014-02-19 11:58:20 +01:00
Tim Graham
e1c8bc8fea
Fixed #21790 -- Removed reliance on an assert in auth.get_user().
...
Thanks matklad for the report.
2014-02-18 14:23:38 -05:00
Tim Graham
20f455b3d6
flake8 fixes (unused imports and variables).
2014-02-18 11:33:30 -05:00
Tim Graham
ffa238c3f7
Fixed #22062 -- Corrected static files config for Apache >= 2.4
2014-02-18 09:29:22 -05:00
Dmitro
d3e33fff12
Made content_type_extra optional for TemporaryUploadedFile and MemoryUploadedFile.
...
This provides better backwards compatibility for those constructing these
objects manually.
Refs #13721 .
2014-02-18 07:49:42 -05:00
Claude Paroz
621c5cf4a5
Fixed #21732 -- Made compilemessages complain about non-writable location
...
Instead of crashing with a CommandError, now a non-writable location
of mo files will only make compilemessages complain and continue.
Thanks Ramiro Morales for the review.
2014-02-18 13:38:06 +01:00
Claude Paroz
203f55b5d5
Replaced 'test' by 'sqlall' management command in reverse_lazy test
2014-02-18 13:21:25 +01:00
Baptiste Mispelon
6b310bafc5
Fixed broken tests when running with a non-TTY stdin.
2014-02-18 11:36:07 +01:00
Baptiste Mispelon
2a9ee49f3c
Removed BaseCommand.stdin introduced in 116d39842d
.
...
This option is not actually very useful in the general case
because it doesn't override sys.stdin.
It's still marginally useful for testing some features of
the createsuperuser command so it was moved there.
This commit also makes the detection of a TTY in createsuperuser
a bit more robust, after a suggestion of appolo13.
2014-02-18 11:36:06 +01:00
Baptiste Mispelon
b78f9a12c8
Consolidated all tests for createsuperuser in the same TestCase.
2014-02-18 11:36:06 +01:00
Claude Paroz
45edb9d235
Fixed #22057 -- Ensured reverse_lazy can be used in settings
...
And without causing a circular import. Thanks Akis Kesoglou for
the report.
2014-02-18 10:23:30 +01:00
Artur Frysiak
faf6a911ad
Fixed #22023 -- Raised an error for values() followed by defer() or only().
...
Previously, doing so resulted in invalid data or crash.
Thanks jtiai for the report and Karol Jochelson,
Jakub Nowak, Loic Bistuer, and Baptiste Mispelon for reviews.
2014-02-17 14:46:13 -05:00
Baptiste Mispelon
a7639722f5
Fixed #7423 -- Skip superuser creation when not running in a TTY.
...
Thanks to trac user galaxy4sale for the original report
and to AeroNotix for the patch.
2014-02-17 04:58:31 +01:00
Baptiste Mispelon
81cd3a7460
Use assertEqual instead of assertEquals.
2014-02-17 04:58:31 +01:00
Baptiste Mispelon
116d39842d
Added the possibility to pass a stdin object to a management command.
...
This makes testing certain features easier.
Thanks to AeroNotix for the original patch.
2014-02-17 04:58:31 +01:00
Andrew Godwin
3c547a423f
Merge pull request #2270 from bmispelon/ticket-22030
...
Fixed #22030 -- Don't assume that all fields have a swappable_setting at...
2014-02-17 01:16:49 +00:00
MattBlack85
a8ba76c2d3
Fixed #19980 : Signer broken for binary keys (with non-ASCII chars).
...
With this pull request, request #878 should considered closed.
Thanks to nvie for the patch.
2014-02-16 16:50:50 +01:00