Hi all,
--
Regards,
Sithu Lloyd Dube
-- I am using Django 1.7 and I have a package called 'utilities' next to my app package like so:
--> my project
--> my project
--> my_app
-- __init__.py
-- models.py
--> utilities
-- __init__.py
-- do_something.py
Inside do_something.py in utilities, I am getting an ImportError when trying to do 'from my_app.models import Blah'.
ImportError: No module named my_app.models
Any ideas as to what I am missing here?
ImportError: No module named my_app.models
Any ideas as to what I am missing here?
Regards,
Sithu Lloyd Dube
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH-SnCC4DwWozvOPPJuOfgNjY7sN-F072VZa%3DMbQY%2BQaL9DMEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment