download file when debug=false

31 views
Skip to first unread message

Richard Auscard

unread,
Sep 30, 2016, 7:32:39 AM9/30/16
to Django users
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

Constantine Covtushenko

unread,
Sep 30, 2016, 2:30:50 PM9/30/16
to django...@googlegroups.com
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.

--
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...@googlegroups.com.
To post to this group, send email to django...@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.

lateu richard

unread,
Oct 1, 2016, 9:38:09 AM10/1/16
to django...@googlegroups.com, Constantine Covtushenko
I juste want to know if there particular config to do when debug=false before make possible to download file from app. I van do it when debug=true


Le ven. j sept. PM à 7:30 PM, Constantine Covtushenko
<kosty...@gmail.com> a écrit :

Constantine Covtushenko

unread,
Oct 1, 2016, 3:06:41 PM10/1/16
to django...@googlegroups.com
Hi Richard,

Ah, I missed your point last time. Sorry for that.

Can you please print here code sniped with with your app returns excel file?
It helps us to suggest something valuable.

Regards,

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

lateu richard

unread,
Oct 1, 2016, 4:33:38 PM10/1/16
to django...@googlegroups.com, Constantine Covtushenko
Thk i will print it on monday  please 
Le sam. j oct. PM à 8:05 PM, Constantine Covtushenko
<kosty...@gmail.com> a écrit :
Reply all
Reply to author
Forward
0 new messages