Alex Gaynor
3a10bcc917
Document `six.assertRaisesRegex
`.
2012-09-07 15:51:22 -04:00
Alex Gaynor
5999eb42eb
Removed another usage of the bear "except:" (rawr!).
2012-09-07 15:34:48 -04:00
Alex Gaynor
ad50243cd1
[py3k] Fixed the index creation code that I committed a few minutes ago for py3k.
2012-09-07 15:33:02 -04:00
Alex Gaynor
335a9f9cf1
Removed many uses of bare "except:", which were either going to a) silence real issues, or b) were impossible to hit.
2012-09-07 15:08:07 -04:00
James Bennett
257c4011cb
Merge pull request #331 from davidfischer/master
...
Ticket #17324 - Improve security docs with better CSRF explanation
2012-09-07 12:02:53 -07:00
James Bennett
46249061d6
Merge pull request #333 from brad/ticket_18917
...
clarify clean_<field> docs, ticket #18917
2012-09-07 12:00:01 -07:00
Alex Gaynor
6a5a12ea3e
Fixed #17888 -- no longer silence exceptions inside of check_test. Thanks to brutasse for the patch.
2012-09-07 14:37:21 -04:00
Alex Gaynor
e4ea536774
Ensued that SQL indexes are alwasy created in the same name.
...
Previous this used Python's builtin hash() function, which has never been guarnteed to be stable across implementations (CPython/Jython/etc.) or 32/64 bitness. However, this in practice it was stable. However, with the impending release of Python 3.3 hash randomizations is enabled by default, which would mean the index name changed between program invocations.
2012-09-07 14:14:06 -04:00
Alex Gaynor
a92b81b0e8
Fixed tests that I broke a few commits ago.
2012-09-07 14:01:46 -04:00
Alex Gaynor
f47af9df1d
Cleaned up several test cases, to better isolate state.
2012-09-07 13:47:12 -04:00
Justin Bronn
72b8f8d73b
Updated the GEOS, PostGIS, and PROJ.4 versions in the GeoDjango installation docs.
2012-09-07 13:35:09 -04:00
Nick Martini
9e190e1c82
Merge branch 'master' of git://github.com/django/django
2012-09-07 13:31:01 -04:00
Alex Gaynor
292322f977
[py3k] Silence many warnings while running the tests.
2012-09-07 13:17:34 -04:00
Nick Martini
9ce58906af
removed unused import from tutorial 3 documentation as per ticket #18915
2012-09-07 13:05:23 -04:00
Alex Gaynor
4321ee25c5
Merge pull request #336 from dlo/tickets/18915
...
remove unused import in decoupling URLs tutorial, closes #18915
2012-09-07 09:43:05 -07:00
Aymeric Augustin
e1a37d5537
[py3] Documented forwards-compatible aliases
...
that will be available as of version 1.4.2.
2012-09-07 11:57:46 -04:00
Dan Loewenherz
07b3d39d10
remove unused import in decoupling URLs tutorial, closes #18915
...
The `include` function isn't used in polls/urls.py.
2012-09-07 11:49:55 -04:00
Alex Gaynor
cceff73acd
Merge pull request #335 from dlo/tickets/18875
...
specify any orderable field can be specified in get_latest_by, closes #18875
2012-09-07 08:47:02 -07:00
Dan Loewenherz
09e3d364b9
specify any orderable field can be specified in get_latest_by, closes #18875
2012-09-07 11:34:18 -04:00
Alex Gaynor
0e296131bb
Cleaned up some small bits of the ORM, including removing an import *.
2012-09-07 10:58:17 -04:00
Brad Pitcher
c634375e9c
clarify clean_<field> docs, ticket #18917
2012-09-07 10:43:55 -04:00
Claude Paroz
39aa8901e1
Made use of property decorator in formsets.py
2012-09-06 23:08:15 +02:00
David Fischer
58786897a1
Formatting fix for host headers section
2012-09-06 16:10:08 -04:00
David Fischer
c65100248d
Added CSRF with HTTPS/HSTS and forwarding note
2012-09-06 16:08:14 -04:00
David Fischer
ba141e6906
Added note about Strict Transport Security (HSTS)
2012-09-06 15:13:31 -04:00
Simon Meers
ee1b3e2a3a
Fixed minor typo in 1.3 release notes.
2012-09-06 21:00:16 +10:00
Aymeric Augustin
5262a288df
Fixed #18687 : Removed test_performance_scalability
...
Even after repeated adjustment of the constants, this test still fails
randomly. It has educated us to ignore messages from Jenkins, to a
point where we missed some actual failures. In addition, it accounts
for a non-negligible percentage of the run time of the test suite
just by itself. Since no one has proposed a convincing patch in months,
I'm going to remove the patch. We can't keep a randomly failing test
forever.
2012-09-05 23:02:33 -04:00
Adrian Holovaty
3f53cac520
Merge pull request #318 from Matt-Stevens/master
...
Small doc change: clarify day and month
2012-09-05 19:20:25 -07:00
Tim Graham
e5983af7c1
Fixed #18904 - Typo in MySQL link; thanks Johie Anderson for the report.
2012-09-05 17:50:17 -04:00
Tim Graham
cff911f4ba
Merge pull request #325 from shabda/ticket_18905
...
Fixed #18905 - Updated URL for Django People
2012-09-05 05:39:49 -07:00
Shabda Raaj
b791fda0df
Fixed #18905 - Changed to new url for Djangopeople
2012-09-05 16:20:23 +05:30
Adrian Holovaty
4193a0f3d5
Negligible spacing fix in auth/forms.py
2012-09-04 16:47:45 -04:00
Tim Graham
51ee850776
Fixed #9967 - Added a link to a bug that affects contrib.comments redirects.
2012-09-04 16:27:58 -04:00
Claude Paroz
22f85b9057
Fixed #18824 -- Allow deleting a setting from overriden settings
2012-09-04 09:41:12 +02:00
Claude Paroz
cc9b767fc6
Fixed #18902 -- Made force_bytes properly handle exception input
...
Thanks Aymeric Augustin for the report and the initial patch.
2012-09-04 09:27:28 +02:00
Matt Stevens
a7d831a305
Changes day to from 2 to 30
2012-09-03 16:31:37 +01:00
Matt Stevens
813241f655
Clarifies day and month in example queryset
2012-09-03 15:20:05 +01:00
Tim Graham
03ad7d3c20
Merge pull request #315 from streeter/auth-docs-cleanup-patch
...
Clarify some of the password reset docs
2012-09-01 15:05:18 -07:00
Claude Paroz
28fd876bae
Fixed #17892 -- Do not include whole RegexURLPattern lists in RegexURLResolver repr
...
Thanks milosu for the report and the initial patch.
2012-09-01 22:20:46 +02:00
Tim Graham
c6088bc91d
Fixed #18840 - Added a mentioned of the upload_to parameter to the ModelForm example in file uploads.
2012-09-01 15:38:44 -04:00
Claude Paroz
306d34873c
Fixed #18212 -- Standardized arguments of GenericIPAddressField
...
Unlike other model fields, the newly introduced (1.4)
GenericIPAddressField did not accept verbose_name and name as the
first positional arguments. This commit fixes it.
Thanks Dan McGee for the report and the patch.
2012-09-01 18:38:55 +02:00
Tim Graham
74c025d028
Fixed #13608 - Noted that template lookups use literal values.
2012-09-01 09:24:39 -04:00
Tim Graham
5faadea439
Fixed #17378 - Added a flattened index for class-based views.
...
Thanks Preston Holmes for the patch.
2012-09-01 09:20:38 -04:00
Tim Graham
f7142b6111
Fixed #9920 - Clarfied empty string vs. localhost in settings database host.
...
Thanks chromano for the draft patch.
2012-09-01 09:03:05 -04:00
Tim Graham
e376558ed2
Fixed #16936 - Updated javascript for CSRF protection.
...
Thanks Idan Gazit for the patch.
2012-09-01 06:03:01 -04:00
Tim Graham
f99ecaff06
Fixed #18642 - Added a note suggesting the use of render() rather than render_to_response() if you need RequestContext in your template.
2012-08-31 20:24:33 -04:00
Chris Streeter
fef641d164
Clarify some of the password reset docs
...
Some of the wording was copied from the change password section. Updated
the text to clarify that the we are talking about password resets.
2012-08-31 16:13:50 -07:00
Tim Graham
70896386ec
Fixed #16309 - Made ModelAdmin.list_filter versionchanged annotations more specific to the sections that changed; thanks akaihola for the suggestion and patch.
2012-08-31 18:01:02 -04:00
Claude Paroz
44f541ab47
Added 1.4.1 and 1.3.2 release notes
2012-08-31 20:35:50 +02:00
Tim Graham
7235cc7685
Fixed #14556 - Documented how to use flatpages in URLconf; thanks Claude Paroz for the draft patch.
2012-08-31 08:14:45 -04:00