title: Django: Order of imports means only one views.py files is accessable
body: <p>I'm just working through the <a href="http://www.djangobook.com/en/2.0/chapter07.html" rel="nofollow noreferrer">DjangoBook Chapter7 tutorial</a> on creating forms. </p>
  
  <p>My issue is that I can only import one <code>views.py</code> file from either my <code>books</code> or <code>contact</code> directories. As a result I am only able to see the pages created by whichever views.py file is imported at the time. </p>
  
  <p>I believe I need someway of differentiating between the two directories so that Django does not get confused (due to my likely bad implementation). I have also included an image of my project directory which might be useful to understand the problem.</p>
  
  <p><strong>Contact import working</strong></p>
  
  <pre><code>from mysite.views import hello, current_datetime, hours_ahead, display_meta
  from contact import views
  #from books import views
  
  urlpatterns = patterns('',
      ...
  
      #url(r'^search-form/$', views.search_form),
      #url(r'^search/$', views.search),    
  
      url(r'^contact_form/$', views.contact), 
  )
  </code></pre>
  
  <p><strong>Books import working</strong></p>
  
  <pre><code>from mysite.views import hello, current_datetime, hours_ahead, display_meta
  #from contact import views
  from books import views
  
  urlpatterns = patterns('',
      ....
  
      url(r'^search-form/$', views.search_form),
      url(r'^search/$', views.search),    
  
     #url(r'^contact_form/$', views.contact), 
  )
  </code></pre>
  
  <p><strong>My Project structure. I am working in Eclipse with Pydev.</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/KYeWG.jpg" alt="enter image description here"></p>
  
  <p><strong>Both contact and books import implemented give the below error</strong></p>
  
  <pre><code>AttributeError at /search/
  
  'module' object has no attribute 'search_form'
  </code></pre>
  
  <p>Any help is as always much appreciated. </p>