0
I just added the appname_appname to my database and it now works fine.
sorry to mislead – my mistake. I still don’t understand why the piece of code wasn’t being added to the database on syncdb to begin with though.
but all is well now
Source:stackexchange.com