diff options
| author | David Smith <smithdc@gmail.com> | 2025-07-25 10:24:17 +0100 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-08-25 10:51:10 -0300 |
| commit | f81e6e3a53ee36e3f730a71aa55a5744982dd016 (patch) | |
| tree | 44a4fdd64e2d1489d80b1af8bd1ac3c7af3ad0dd /docs/howto/outputting-csv.txt | |
| parent | 4286a23df64f6ce3b9b6ed097f4d1aac7d9e0de4 (diff) | |
Refs #36485 -- Rewrapped docs to 79 columns line length.
Lines in the docs files were manually adjusted to conform to the
79 columns limit per line (plus newline), improving readability and
consistency across the content.
Diffstat (limited to 'docs/howto/outputting-csv.txt')
| -rw-r--r-- | docs/howto/outputting-csv.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/howto/outputting-csv.txt b/docs/howto/outputting-csv.txt index 6f2eedf3ba..c5ae7094d2 100644 --- a/docs/howto/outputting-csv.txt +++ b/docs/howto/outputting-csv.txt @@ -3,8 +3,8 @@ How to create CSV output ======================== This document explains how to output CSV (Comma Separated Values) dynamically -using Django views. To do this, you can either use the Python CSV library or the -Django template system. +using Django views. To do this, you can either use the Python CSV library or +the Django template system. Using the Python CSV library ============================ @@ -101,9 +101,10 @@ the assembly and transmission of a large CSV file:: Using the template system ========================= -Alternatively, you can use the :doc:`Django template system </topics/templates>` -to generate CSV. This is lower-level than using the convenient Python :mod:`csv` -module, but the solution is presented here for completeness. +Alternatively, you can use the :doc:`Django template system +</topics/templates>` to generate CSV. This is lower-level than using the +convenient Python :mod:`csv` module, but the solution is presented here for +completeness. The idea here is to pass a list of items to your template, and have the template output the commas in a :ttag:`for` loop. |
