1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
Commit Graph

1019 Commits

Author SHA1 Message Date
Tim Graham
acd74ffa35 Fixed #14829 - Added references to CBVs in the URLConf docs; thanks Andrew Willey for the suggestion. 2012-09-19 17:59:47 -04:00
Tim Graham
89e809c400 Merge pull request #195 from pydanny/ajax-docs-example
Added example of AJAX form submission for CBVs.
2012-09-17 16:02:07 -07:00
Marc Tamlyn
b16f8b5fbe Add example of AJAX form submission.
Credit goes to @SystemParadox. Originally developed at #DjangoCon Europe
but wasn't tested enough to merge in.

For history, please see https://github.com/pydanny/django/pull/4
2012-09-17 08:56:43 +01:00
Camilo Nova
17149496a0 Fixes docs typo 2012-09-15 15:45:13 -05:00
Tim Graham
22242c510f Fixed #16929 - Documented how to extend UserAdmin with UserProfile fields; thanks charettes for the draft example. 2012-09-15 07:38:34 -04:00
Tim Graham
a73838fde3 Fixed #11185 - Expanded docs on customizing widgets; thanks fadeev for the draft patch. 2012-09-15 06:22:00 -04:00
Karen Tracey
ffe8bc00bf Replaced backwards-incompatible changes reference
The previously-referenced wiki page documents backwards-incompatible
changes from .96 to 1.0. Changed that referece to point to current
in-development release notes, which is where such changes are now
documented.
2012-09-09 12:53:32 -04:00
Carl Meyer
a78dd109e6 Fixed #15552 -- LOGIN_URL and LOGIN_REDIRECT_URL can take URLpattern names.
Thanks UloPe and Eric Florenzano for the patch, and Malcolm Tredinnick for
review.
2012-09-08 16:58:35 -06:00
Tim Graham
518c582966 Fixed #15906 - Documented HEAD method in CBVs; thanks zsiciarz for the patch. 2012-09-08 18:45:02 -04:00
James Bennett
5c5226a520 Fix typo: Non -> None 2012-09-08 16:14:13 -04:00
James Bennett
408c10e541 Untabify multi-db docs. 2012-09-08 16:08:01 -04:00
James Bennett
5d1f09f450 Ticket 18657: Fix inconsistent DB names in router example.
This rewrites the entire example to use the same DB names throughout,
and also is hopefully a bit more sensibly described. Additionally, the
missing import of the random module for choosing a read slave is
included in the example now.
2012-09-08 16:02:00 -04:00
Tim Graham
76bd33539f Merge pull request #359 from nmartini/ticket_18832
Fixed #18832 - Updated ModelForm example fields to match note below
2012-09-08 10:34:11 -07:00
Michal Petrucha
86e149ae05 Fixed a typo in the Python 3 compatibility docs. 2012-09-08 18:54:33 +02:00
Nick Martini
571698997f fixing modelforms example code, ticket #18832 2012-09-08 12:30:41 -04:00
Aymeric Augustin
e69348b4e7 Avoided mixing dates and datetimes in the examples.
Refs #16023.
2012-09-08 11:00:04 -04:00
Tim Graham
b7d3b057f3 Fixed #18365 - Added a reminder of the context processor required for the set_language view.
Thanks Nick Martini for the patch.
2012-09-08 06:56:07 -04:00
Tim Graham
dc01e41d23 Fixed #15566 - Documented that update() doesn't honor DateField.auto_now
Thanks Shabda Raaj for the draft patch.
2012-09-08 06:38:41 -04:00
Malcolm Tredinnick
6add6170c0 Small reorganisation of initial parts of URL documentation.
Trying to move most of the introductory example stuff up to the top and
pushing the reference bits further down.
2012-09-07 19:12:14 -04:00
Aymeric Augustin
7435cc0167 Updated install docs to reflect Python 3 status.
Closes #17452.
2012-09-07 17:12:11 -04:00
Alex Gaynor
3a10bcc917 Document `six.assertRaisesRegex`. 2012-09-07 15:51:22 -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
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
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
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
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
Tim Graham
74c025d028 Fixed #13608 - Noted that template lookups use literal values. 2012-09-01 09:24:39 -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
Florian Apolloner
785980d30e Merge pull request #310 from juanpex/master
fix documentation testing of Selenium WebDriverWait
2012-08-31 04:59:59 -07:00
Florian Apolloner
fc81854934 Merge pull request #311 from gutworth/py3-doc
Indexing bytes is the problem not slicing.
2012-08-31 04:56:42 -07:00
Tim Graham
141e6cd2ac Fixed #18871 - Fixed typo in multi-db docs. 2012-08-30 06:45:11 -04:00
Claude Paroz
ebc773ada3 Replaced many smart_bytes by force_bytes
In all those occurrences, we didn't care about preserving the
lazy status of the strings, but we really wanted to obtain a
real bytestring.
2012-08-29 11:20:32 +02:00
Benjamin Peterson
c87b08d2a1 Indexing bytes is the problem not slicing. 2012-08-28 20:46:42 -04:00
juanpex
bfa3d5af34 fix documentation testing of Selenium WebDriverWait
According to the documentation of Selenium, WebDriverWait class has no timeout parameter and using the code fails.

http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/support/ui/FluentWait.html#until%28com.google.common.base.Predicate%29
2012-08-27 21:04:20 -03:00
Tim Graham
df7c1a13a0 Fixed #18804 - Reorganized class based views docs a bit; thanks anthonyb for the initial patch. 2012-08-25 08:13:43 -04:00
Tim Graham
e57338f2b9 Fixed #18847 - Updated for media examples to use static.example.com. Thanks Jamie Curle. 2012-08-24 08:23:50 -04:00
Carlos Palol
f200ffd701 Fixed typo in docs 2012-08-23 16:46:38 +02:00
Tim Graham
e06189f7ce Merge pull request #297 from mjjohnson/ticket_17069
Fixed #17069 -- Added log filter example to docs.
2012-08-22 17:36:46 -07:00
Tim Graham
13d47c3f33 Fixed #18637 - Updated some documentation for aspects of models that are ModelForm specific, not admin specific.
Thanks Ben Sturmfels for the patch.
2012-08-21 17:38:16 -04:00
Tim Graham
3fd89d9903 Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if the form is invalid.
Thanks Ben Sturmfels for the patch.
2012-08-21 17:32:53 -04:00
Michael Johnson
32ffcb21a0 Fixed #17069 -- Added log filter example to docs.
Added an example of filtering admin error emails (to exclude
UnreadablePostErrors) to the docs.
2012-08-21 09:01:11 -04:00
Alex Gaynor
831f2846dd Fixed #18819 -- fixed some typos in the auth docs 2012-08-20 14:27:28 -07:00
Aymeric Augustin
1288572d92 Made an example more readable in the URLs docs. 2012-08-20 18:23:17 +02:00
Aymeric Augustin
4e82d61400 Added links in URLs doc for consistency. 2012-08-20 15:02:25 +02:00
Tim Graham
514a0013cd Fixed #17180 - Emphasized the need to load the i18n template tag in each template that uses translations. Thanks stefan.freyr for the suggestion and buddylindsey for the draft patch. 2012-08-19 18:46:46 -04:00
Aymeric Augustin
7631fb8f37 Clarified a sentence in the Python 3 docs.
Thanks dstufft for the report.
2012-08-19 21:21:53 +02:00