Sometimes you may need to pass arguments and parameters to shell script functions. Here are the steps for passing parameters to shell script functions.
How to Force NGINX to Serve New Static Filles
After you update static files on your site, you need to serve new files. Here is how to force NGINX to serve new static files.
How to Return Value in Shell Script Function
Sometimes you may need to return value in shell script. Here are the steps for returning a value from called function shell script.
How to Retrieve POST Request Data in Django
Very often you may need to handle POST data in Django. Here is how to retrieve POST request data in Django.
How to Capture URL Parameters in Django Request
Very often you may need to capture URL parameters in Django request. Here are the steps to read URL parameters passed in user request.
How to Temporarily Disable Foreign Key Constraint in MySQL
By default, MySQL checks foreign key constraint before deleting a column or truncate a table. Here is how to temporarily disable foreign key constraint in MySQL.
How to Lookup Dictionary Value with Key in Django Template
How to Loop Through List in Django Template
Sometimes you may need to iterate over python list or use for loop in Django template. Here is how to loop through list in Django Template.
How to Run Python Script in Django Project
Sometimes you may need to run python script in django shell or web page. Here is how to run python script in Django project.
How to Disable CSRF validation in Django View
Django offers CSRF protection for all views by default. Here is how to disable CSRF validation in Django view