Python2.7 , Django1.4
Browser: A server error occurred. Please contact the administrator.
Server Error:
File "/home/edinteri/public_html/old/boxdecor/admin.py", line 6, in <module>
from edinteriores.boxdecor.models import Boxdecor, Imagens, Historico, Producto_exterior, Estado, Numeros_de_serie, Comentario, Alerta, ProjectoObra
ImportError: No module named edinteriores.boxdecor.models
Any help would be appreciated.
Has the site been around for awhile or are you still developing it - joshcartme 2012-04-04 17:16
The package name "edinteriores" is very similar to your username. You should find that your package and add it to Python path. An easy solution is
python manage.py ... --pythonpath=some-path
or to set PYTHONPATH environment variable or to extend sys.path directly in manage.py or use virtualenv.
Maybe if will be useful to recompile the package if you have moved it, in order to see correct info in traceback etc.: cd .../edinteriores; python -m compileall -f $(pwd)