You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On page 5 in example 1.2 there's an example of implicit relative import:
from core.views import FoodMixin
On the next page in table 1.1 the same import statement is used but as an example of absolute import.
This is very confusing. Is the type of import defined based on both the syntax and on the context whether it's called outside or inside the current app?
The text was updated successfully, but these errors were encountered:
Location within the Book
Description
On page 5 in example 1.2 there's an example of implicit relative import:
On the next page in table 1.1 the same import statement is used but as an example of absolute import.
This is very confusing. Is the type of import defined based on both the syntax and on the context whether it's called outside or inside the current app?
The text was updated successfully, but these errors were encountered: