I'm a beginner python user and am slighlty confused over the way modules are imported.
I've attached a screen shot to make it more clear what i'm asking.
I have the following code taken from djangoproject.com:
from django.db import models
class Book(models.Model):
title = models.CharField(max_length=100)
As the import statement refers to the folder named 'models' does this mean every module inside the 'models' folder is being imported into the session?
If so is models.Model a class found in one of those modules? If yes then why am i unable to find this class in any of the files? I've done a search for 'class Model(' in all of the files and can't find it.