How To Enable Or Disable CSRF Validation In Django Web Application

Django has provided a feature that can help you to avoid csrf attacks on your Django application. But sometimes especially in your development environment, you do not want this feature when sending post requests to your web server use curl in the command line, if this feature is enabled, you will get errors. This article […]

How To Enable Or Disable CSRF Validation In Django Web Application Read More »

How To Fix Django: TemplateSyntaxError: Could Not Parse The Remainder Error In Template File

When I develop my Django app example, I meet an error with TemplateSyntaxError: Could Not Parse The Remainder error message like below. This error is so strange but so simple to fix, but it cost me a lot of time. So I want to write down the solution here for the reader to fix it

How To Fix Django: TemplateSyntaxError: Could Not Parse The Remainder Error In Template File Read More »

How To Set Http Header Vary Value Correct To Make Cache Work Effective

My website dev2qa.com uses Ezoic caching function to cache all my website pages. This can improve my website page access speed. Ezoic proxy server will create a copy of my website page and save those web page copies in their data center all over the world. So when a client requests a web page, and

How To Set Http Header Vary Value Correct To Make Cache Work Effective Read More »

How To Connect Directly To Your Origin Web Server Bypass Intermediary Proxies To View Original Http Headers

My website dev2qa.com uses two CDN proxies as a chain to cache my web pages. One is Cloudflare which sits in front of my website dev2qa.com, the other is Ezoic Caching which sits in front of Cloudflare CDN. But someday, I find there are a lot of unuseful response headers in the HTTP response, and

How To Connect Directly To Your Origin Web Server Bypass Intermediary Proxies To View Original Http Headers Read More »

How To Install Python Package Numpy, Pandas, Scipy, Matplotlib On Windows, Mac And Linux

If you want to do data analysis in python, you always need to use python packages like Numpy, Pandas, Scipy and Matplotlib, etc. All those python packages are so powerful and useful to do Base N-dimensional array computing( Numpy ), Data structures & analysis ( Pandas ), scientific computing ( Scipy ), and Comprehensive 2D

How To Install Python Package Numpy, Pandas, Scipy, Matplotlib On Windows, Mac And Linux Read More »