1👍
Using tab in Django is a bad practice. In order to fixed your problem you must use spaces only, I think 4 spaces. Try to backspace your codes and you’ll see that it’s tab indention, use only spaces.
0👍
I ran into the same error today.
Just like Dombey python -m tabnanny -v *
reported a Clean bill of health
for all my files.
I am using git so I tried running the master branch (which used to run fine) but I got the same result.
I don’t know what triggered the error but uninstalling-reinstalling Django solved it for me.
- [Answer]-How to show a custom <option> text in a queryset field from forms in Django?
- [Answer]-DJANGO: Variables passed to templates by context manager not reflecting admin changes
- [Answer]-Not returning ajax response?
- [Answer]-Django – MultipleCheckBoxSelector with m2m field – How to add object instead of save_m2m()
- [Answer]-Serve static files in Django. Need explanation
Source:stackexchange.com