I am new to django and am uncertain about how free the layout of files and folders can be? Right now i have
mysite/
manage.py
mysite/
settings.py
urls.py
an_app/
views.py
models.py
For some reason, in urls.py, when i do "from an_app import views" it works, even though views is not in the same place as "an_app". Does urls.py basically just search all over the project for a app called "an_app"? Lastly, in the djangobook.com they use "from mysite.an_app import views" but this does NOT work for me...? it just comes up with "No module named an_app" why not?