This is views.py file which show error:
I'm also uploading the image which show what is the error:
This is views.py file which show error:
I'm also uploading the image which show what is the error:
This is not a Django issue.
The error message is clear about the problem:
TabError: inconsistent use of tabs and spaces in indentation
It is not clear from the screenshot, but your editor should have a way to indicate whitespace characters in the background. This will let you see where you have a tab character.
Also, refer to this question: "inconsistent use of tabs and spaces in indentation"