title: django - import error: no module named views
body: <p>I've been racking my brains and can't figure out why there should be an import error when 'views' is imported.  I get the following message when I visit my index page:</p>
  
  <pre><code>"
  Request Method: GET
  Request URL:    http://127.0.0.1:8000/moments/
  Django Version: 1.6.1
  Exception Type: ImportError
  Exception Value:    
  No module named views
  Exception Location: C:\Python27\lib\site-packages\django\utils\importlib.py in import_module, line 40
  "
  </code></pre>
  
  <p>Here is my urls.py</p>
  
  <pre><code>from django.conf.urls import patterns, url
  
  from moments_app import views
  
  urlpatterns = patterns('',
      url(r'^$', "views.index", name='index'),
      url(r'^$', "views.choose_dataset", name='choose'),
      url(r'^get_moments/', "views.get_moments", name='get_moments'),
      url(r'^learn/$', "views.learn", name='learn'),
      url(r'^(?P&lt;moment_id&gt;\d+)/$', "views.detail", name='detail'),
  
  )
  </code></pre>
  
  <p>I clearly have a module named views in my moments_app folder.  Also, moments_app is in my path.  Does anyone have any ideas as to what might be causing this?  </p>