Hi Everybody !
I have an error when I install a new my modle. I dont know to fix it.
AttributeError: 'NoneType' object has no attribute '_columns'.
Please !Anybody answer
Usually "NoneType" Error means an Object is not loaded in into the database, or you may have specified a wrong module name in your code..
Consider test.py & text.xml are having your Object creation & Object view creations respectively... Check whether have you imported "test.py" in your "__init__.py"
Check the object name defined in py is same as in xml views.... There are chances are having spelling mistakes in either of your files...
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/22/14, 10:48 PM|
|Seen: 599 times|
|Last updated: 3/16/15, 8:10 AM|