Hi list.
In my project named STO I have the 'jsonopenlayers' app with the following structure:

STO
├── __init__.py
├── jsonopenlayers
│ ├── ingestion
│ │ └── ingestShp.py
│ ├── __init__.py
│ ├── models.py
│ └── views.py
├── manage.py
└── settings.py

What I would like to do is to import the functions written inside ingestShp.py into my views.py.

I've tried in several ways, for example with

from jsonopenlayers.ingestion.ingestShp import *

inside the views.py file, but I get the error

Could not import jsonopenlayers.views. Error was: No module named ingestion.ingestShp

How can I import this file?

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to