python - how to recompile django project -
python - how to recompile django project -
i trying run programme given on http://www.thepythontree.in/source-code-8-django-app-to-extract-excel-sheet-data-into-db/ . have made few changes username & password.
on compiling gives error "no module named defaults". referred stackoverflow post importerror @ /admin: no module named defaults asks recompile. how recompile this. or there problem code.
please help.
you don't need manually compile python scripts, compiled @ runtime python interpreter.
the error seeing saying can't find module called "defaults". in python, module either python file or directory containing python files.
somewhere, have python script line "import defaults", or "from defaults import *". need create sure "defaults" can imported script.
make sure have file called "defaults.py"
i had @ code linked on page you've linked from, couldn't see imports "defaults".
for farther diagnosis, need provide total error message getting, , file , directory construction of project.
python django excel
Comments
Post a Comment