[Fixed]-"unexpected indent" error when using notepad++ for creating django function

28👍

Tell Notepad++ to show you all characters: go View > Show Symbol > Show All Characters. This will show tabs as and spaces as . Replace tabs with spaces where necessary to normalize the indentation.

24👍

Settings->Preferences->Language Menu/Tab Settings->”Replace by space”

2👍

In Notepad++ it is a checkbox here:

  • Settings>Preferences>

enter image description here

Leave a comment