Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importing package from another app #3

Open
s2krish opened this issue Sep 27, 2015 · 0 comments
Open

importing package from another app #3

s2krish opened this issue Sep 27, 2015 · 0 comments

Comments

@s2krish
Copy link

s2krish commented Sep 27, 2015

I have questions. We put all apps in apps folder e.g.

apps
     myapp
     userapp
    sometaskapp

When we want to import models of myapp in userapp, we have to do it like from apps.myapp.models import MyModel

I am wondering if there's way to get rid of apps without adding path upto apps directory in system path e.g. from myapp.models import MyModel

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant