5👍
✅
I can’t see anything wrong with your code. Off the top of my head I would say check the white spacing in front of your new item.
Other than that what is the error message shown? The error message that appears in the log is a lot more user-friendly than the browser error message.
0👍
Yay fixed. Turns out when copying from html to notepad++ it was not copying the tabs properly, and using just 2spaces instead of a tab for indents.
I have been struggling for days with seemingly simple python errors, so perhaps this will cure a few.
Thank you guys – much appreciated.
- [Django]-How to create random slug in Django
- [Django]-Ignore_user_abort php simil in Django/python?
- [Django]-Django-python how to convert text to pdf
Source:stackexchange.com