1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Baptiste Mispelon
bd9fbd1497 Fixed errors and inconsistencies in CBV topic documentation.
The code examples should now work correctly.
The `get_context_data` method in the examples was changed when
necessary to adopt a singular style (get context with super(...),
add the extra keys to the dict then return it).

Thanks to Remco Wendt for the initial report and to Tim Graham
for the review.
2013-06-23 00:18:23 +02:00
Baptiste Mispelon
b53ed5ac55 Fixed #20612 -- Fixed incorrect wording in CBV documentation
Thanks to ndokos for the report.
2013-06-21 17:50:43 +02:00
Danilo Bargen
cd7d7452bc Fixed order of base classes in CBV mixin docs 2013-06-13 14:59:13 +02:00
Silvan Spross
cd72c55d86 Add missing imports and models to the examples in the view layer documentation 2013-05-18 18:39:11 +02:00
Luke Plant
f026a519ae Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added '__all__' shortcut
This also updates all dependent functionality, including modelform_factory
 and modelformset_factory, and the generic views `ModelFormMixin`,
 `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-05-09 16:44:36 +01:00
Baptiste Mispelon
73c26f0c95 Fixed #20270 -- Fixed error in AjaxResponseMixin documentation 2013-04-22 20:00:50 +02:00
Claude Paroz
58b3a974fc Fixed #20266 -- Updated view example in CBV introduction
Thanks jim at hellolocals.com for the report.
2013-04-16 08:59:55 +02:00
Tim Graham
93cffc3b37 Added missing markup to docs. 2013-03-22 13:50:07 -04:00
Pablo Sanfilippo
bd68f701b1 Fixed an erroneous import in example code. 2013-03-13 14:16:27 -03:00
Tobias Carlander
df7668a9e4 Fix Typo explicitly. Fixes #19971 2013-03-03 22:34:10 +04:00
Tim Graham
d009ffe436 Fixed #19937 - Typo in class-based views intro. 2013-02-28 08:25:14 -05:00
Tim Graham
2108941677 Fixed #16807 - Added a class-based views intro.
Thanks Preston Holmes for the text.
2013-02-27 07:13:55 -05:00
Zbigniew Siciarz
0a8402eb05 Test case and docs for custom context data in feeds
Thanks Paul Winkler for the initial patch. (Ref #18112).
2013-02-24 08:33:20 -06:00
Stefan "hr" Berder
22d5e4b4af Update docs/topics/class-based-views/generic-display.txt
simple typo in "Making friendly template contexts"
2013-02-19 16:01:06 +08:00
Lucian Ursu
c6560e4843 Fixed #19690 - Removed unused import
Removed an import of a class unused in the Ajax example.
2013-01-29 17:39:03 +02:00
Tim Graham
43f89e0ad6 Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.
2013-01-15 07:50:26 -05:00
Tim Graham
9b5f64cc6e Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Tim Graham
067505ad19 Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
Tim Graham
e2b1808196 Fixed #19335 - Typo and cleanups in docs/topics/class-based-views/index.txt 2012-11-21 19:06:17 -05:00
Aymeric Augustin
00ff69a827 Fixed #19283 -- Fixed typo in imports in CBV docs. 2012-11-13 20:46:29 +01:00
Tim Graham
837425b425 Fixed #18934 - Removed versionadded/changed annotations for Django 1.3 2012-09-20 19:06:55 -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
Tim Graham
518c582966 Fixed #15906 - Documented HEAD method in CBVs; thanks zsiciarz for the patch. 2012-09-08 18:45:02 -04: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
Preston Holmes
e437dd1d6b Update docs/topics/class-based-views/index.txt
View class does not have a render_to_response method - so does not make sense for this mixin
2012-08-17 17:29:46 -07:00
Martin Brochhaus
6f229d2d7a Update docs/topics/class-based-views/index.txt
Fixed a small typo:

"We can use create" should be "We can create"
2012-08-02 19:29:19 +08:00
Aymeric Augustin
d94cfdcfae Fixed #18589 -- Typo in generic CBV docs.
Thanks cpthomas for the report.
2012-07-07 17:42:04 +02:00
Claude Paroz
ada961b0d2 Fixed #18527 -- Removed superfluous backslash in CBV docs
Thanks ramilzay at gmail.com for the report.
2012-06-27 18:13:14 +02:00
Gabriel Grant
d69f1d71c4 Fixed typo in JSONResponseMixin example. 2012-06-25 08:48:32 +02:00
Jannis Leidel
c4c7fbcc0d Fixed #18451 -- Vastly improved class based view documentation.
Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this.
2012-06-11 10:40:23 +02:00