Tuesday, October 1, 2013

Best practice for server-generated downloads?

Hi,

I need to create database report downloads in Excel format (via xlsxwriter) and I'm wondering if there is any standard or best practice as to where those downloads should be located.

Especially helpful would be if there was a portable way of managing the file system location and web request url in a way so that I don't have to change settings between the development and production server.

Is this -> https://docs.djangoproject.com/en/1.5/topics/files/ the way to go?

Any ideas?

Thomas

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/03a5bc44-9331-4df3-b49f-6e65e789b0ea%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment