title: ImportError: No module named 'index'
body: <p>I cannot find out where the error is coming from and these are the last few files i missed with. I get the ImportError: No module named 'index'.</p>
  
  <pre><code>from django.conf.urls import url
  
  from . import views
  
  from .models import Album
  
  
  urlpatterns = [
      #/index.html/
      url(r'^$', views.index ,name='index'),
      #/index.html/71/
      url(r'^(?P&lt;album_id&gt;[0-9]+)/$', views.details, name='detail')
  ]
  </code></pre>
  
  <p>________________________________ Views __________________________________</p>
  
  <pre><code>from django.shortcuts import render
  from django.http import HttpResponse
  from .models import Album
  from django.template import loader
  
  # Create your views here.
  
  def index(request):
      all_albums = Album.objects.all()
      template = loader.get_template('/music/index.html')
      context = {
          'all_albums': all_albums,
      }
      return HttpResponse(template.render(context,request))
  
  def details(request, album_id):
      return HttpResponse("&lt;h2&gt; details for album id: " + str(album_id) + "&lt;/h2&gt;")
  </code></pre>
  
  <p>-----------------------------Trace Back ---------------------------------</p>
  
  <pre><code>Tyrees-MacBook-Pro:tyree_website tyreestevenson$ python3 manage.py runserver
  Unhandled exception in thread started by &lt;function check_errors.&lt;locals&gt;.wrapper at 0x103b7eb70&gt;
  Traceback (most recent call last):
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/utils/autoreload.py", line 226, in wrapper
      fn(*args, **kwargs)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
      autoreload.raise_last_exception()
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception
      six.reraise(*_exception)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/utils/autoreload.py", line 226, in wrapper
      fn(*args, **kwargs)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/__init__.py", line 18, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/apps/registry.py", line 85, in populate
      app_config = AppConfig.create(entry)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/django/apps/config.py", line 116, in create
      mod = import_module(mod_path)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/importlib/__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 986, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 944, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 222, in _call_with_frames_removed
    File "&lt;frozen importlib._bootstrap&gt;", line 986, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 944, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 222, in _call_with_frames_removed
    File "&lt;frozen importlib._bootstrap&gt;", line 986, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 956, in _find_and_load_unlocked
  ImportError: No module named 'index'
  </code></pre>