Not sure if this will help, but the docs have a pretty in-depth
explanation of doing csv export.
http://docs.djangoproject.com/en/dev/howto/outputting-csv/
HTH,
Alex
On Mar 24, 3:03 pm, jlwlynn wrote:
> I'm trying to simply export CSV, but have failed miserably. First I
> perform a search and
On Wed, Mar 24, 2010 at 8:16 PM, Shawn Milochik wrote:
> Have your 'export' button make an AJAX call to a view, which creates the CSV
> file and prompts the user to 'Save As.'
>
> Details:
>
> 1. Use the same view you currently have, with an 'if' statement which
> returns a standard (html
Have your 'export' button make an AJAX call to a view, which creates the CSV
file and prompts the user to 'Save As.'
Details:
1. Use the same view you currently have, with an 'if' statement which
returns a standard (html) response or a CSV file based on a slug in your URL.
2.
I'm trying to simply export CSV, but have failed miserably. First I
perform a search and the query set is displayed in a template. I want
to have an export button that will export the data on the page, but
unfortunately, I lost the query set and even if I were to have it as a
parameter, it would
4 matches
Mail list logo