csrf error django

Disable CSRF verification for Django REST API

If you are also sucked by CSRF Failed message in django rest, then there is a professional way to disable the CSRF verification while using Django REST APIs.

Error:

{ "detail": "CSRF Failed: CSRF token missing... more

Posted by

April 17, 2016
csrf exempt

What is csrf exempt in django – @csrf_exempt

Csrf exempt is a cool feature of django which allow bypassing of csrf verification by django.

 

By default django check for csrf token with each POST request, it verifies csrf to ken before rendering the view. Its a very… more

Posted by

April 17, 2016

3 Ways To Copy File with Python

These are Simple 3 Ways To Copy File with Python using built-in functions or Native logic. You can copy single or multiple files with use of Python.

Let’s see how easy it is to copy file with Python

Assume you have to copy ‘… more

Posted by

October 6, 2013

Test Pen drive Speed with Python Code Easily

Its amazing to test pen drive speed with python, a small script in python checks the removable disk speed. Just run the code in python and you will get your Removable USB Flash Drive(Pen Drive) Speed. Here is how… more

Posted by

September 26, 2013

Connect Java and MySQL

How to connect Java and MySQL

This Tutorial Lets You easily Connect java and  MySQL in small code and efforts. As the Java is widely known and used programming language and MySQL is widely used database in field of Information… more

Posted by

September 15, 2013

Python Regular Expression Easy Tutorial – II

In Lesson 2 of Python Regular Expression Easy Tutorial, we’ll learn to find text of specific pattern. For example the text patterns like – he99, tintin@email.com , PQ675a, etc

In this Python Regular Expression… more

Posted by

June 27, 2013
regular expressions

Python Regular Expression Easy Tutorial

Regular Expressions provides the way to search desired keywords From a huge data, this technique is called Pattern Matching or text matching. Several Patterns for search text are build using Regular Expressions…. more

Posted by

June 26, 2013

Python Switch Case Alternative

Python ,the pretty Language why can’t provide the switch-case statement like other programming languages?? May be there are many dear alternatives for Switch-Case…Python Switch Case Alternative code executes as fast as any… more

Posted by

May 29, 2013

BB10 Cascades Animation Easy Tutorial

Here we got the BB10 Cascades Animation Easy Tutorial.

Here is the BB10 Cascades Animation Easy Tutorial. As the blackberry 10 cascade development is very easy to learn, blackberry itself provides many tutorials… more

Posted by

May 9, 2013

BB10 Cascades Animation Easy Tutorial

Hi, here we got the BB10 Cascades Animation Easy Tutorial , for learn the animation usings cascades UI in easy way. The small lines of code make it easy to feel like developer..

As the blackberry 10 cascade… more

Posted by

May 9, 2013