Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Dont want to see REST Request and Response messages on a Django Development Server

Hi everyone,

I am developing my own dashboard in Horizon. For this, I am running a Django develpoment server on my localhost.

./runtests.sh --runserver 0.0.0.0:9000

I have used various debugging checks in the code, whose output I print to see how the code behaves. They are being displayed perfectly well. The problem is that huge REST responses are request are also dumped on the screen, which are both not required and make it difficult to scroll to the desired variables printed.

Is there any option in to adjust Django settings such that it does not dump the REST response and requests on the screen unwantedly?

Thanks.

Fizza Hussain

Dont want to see REST Request and Response messages on a Django Development Server

Hi everyone,

I am developing my own dashboard in Horizon. For this, I am running a Django develpoment server on my localhost.

./runtests.sh --runserver 0.0.0.0:9000

I have used various debugging checks in the code, whose output I print to see how the code behaves. They are being displayed perfectly well. The problem is that huge REST responses are request are also dumped on the screen, which are both not required and make it difficult to scroll to the desired variables printed.

Is there any option in to adjust Django settings such that it does not dump the REST response and requests on the screen unwantedly?

Thanks.

Fizza Hussain

Dont want to see REST Request and Response messages on a Django Development Server

Hi everyone,

I am developing my own dashboard in Horizon. For this, I am running a Django develpoment server on my localhost.

./runtests.sh --runserver 0.0.0.0:9000

I have used various debugging checks in the code, whose output I print to see how the code behaves. They are being displayed perfectly well. The problem is that huge REST responses are and request are also dumped on the screen, which are not required and make it difficult to scroll to the desired variables printed.

Is there any option in to adjust Django settings such that it does not dump the REST response and requests on the screen unwantedly?

Thanks.

Fizza Hussain