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

Import statements tutorial #13

Open
jasisz opened this issue May 11, 2014 · 2 comments
Open

Import statements tutorial #13

jasisz opened this issue May 11, 2014 · 2 comments

Comments

@jasisz
Copy link

jasisz commented May 11, 2014

Import statements are mentioned first time in the Django part which is also confusing when people see it for the first time.
I think that concept of module and imports should be introduced earlier.

@lqc
Copy link
Contributor

lqc commented May 11, 2014

I agree, but I'm not sure how to do this without going into too much detail. The import mechanism is quite complicated (absolute imports, __init__ markers, sys.path, etc.) so we definitely don't want it all, but if we skip too much it could easily cause pain for the reader.

@mstepniowski
Copy link
Contributor

I agree with @lqc. I'd talk about imports in Django part, and only tell students as little as possible for them to be productive and avoid Python gotchas.

fallen pushed a commit to fallen/django-carrots that referenced this issue Jun 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants