Friday, September 30, 2016

Re: download file when debug=false

Hi Richard,

There are a lot of options of how to change/switch application behaviour.
It depends on what you eventually need to get.

Mentioned solution: settings.DEBUG = true/false can be one of them

Hope it helps.

Regards,
Constantine C.

On Sep 30, 2016, at 12:06, Richard Auscard <richardauscard@gmail.com> wrote:

hello,

i have developp a django application where excel file are generate after some operation. when debug=true thes excel files can be download but when false it is not possible.
my question is how to solve this issus.

all think are ok when debug=true

--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1075ee7d-6927-47ee-8196-243a3d5091f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment