title: fix for NoReverseMatch error after integrating django package (django-audiotracks)
body: <p>I'm relatively new to django.. I'm trying to integrate the audiotracks package with my project. I'm trying to integrate the audiotracks package but I'm getting  NoReverseMatch error.
  The documentation states..</p>
  
  <p>Add <code>audiotracks</code> to your app
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</p>
  
  <p>Edit <code>settings.py</code> and add <code>audiotracks</code> to your list of
  <code>INSTALLED_APPS</code>. Then synchronize your database with::</p>
  
  <pre><code>$ python manage.py syncdb
  </code></pre>
  
  <p>Edit your ROOT_URLCONF_ and add a piece of code similar to::</p>
  
  <pre><code>urlpatterns += patterns('',
      # Here we mount the app under /music. Feel free to use something else
      url("^music", include("audiotracks.urls")),
      # Some URLs require a Django username
      url("^(?P&lt;username&gt;[\w\._-]+)/music", include("audiotracks.urls")),
  )
  </code></pre>
  
  <p>Visit the URL <code>/music/upload</code> to upload your first track.</p>
  
  <p>the error occurs when i try to access music/upload..</p>
  
  <p>here's the full traceback.</p>
  
  <p>Environment:</p>
  
  <p>Request Method: GET
  Request URL: <a href="http://127.0.0.1:8000/music/upload" rel="nofollow noreferrer">http://127.0.0.1:8000/music/upload</a></p>
  
  <pre><code>Django Version: 1.11.3
  Python Version: 3.6.0
  Installed Applications:
  ['account',
   'music',
   'audiotracks',
   'django.contrib.sites',
   'django.contrib.admin',
   'django.contrib.auth',
   'django.contrib.contenttypes',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles']
  Installed Middleware:
  ['django.middleware.security.SecurityMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.middleware.common.CommonMiddleware',
   'django.middleware.csrf.CsrfViewMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
   'django.contrib.messages.middleware.MessageMiddleware',
   'django.middleware.clickjacking.XFrameOptionsMiddleware']
  </code></pre>
  
  <p>Template error:
  In template C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django_audiotracks-0.2.5-py3.6.egg\audiotracks\templates\audiotracks\base.html, error at line 25
     Reverse for 'user_index' with arguments '('addemo1',)' not found. 2 pattern(s) tried: ['music/tracks/(?P\d)/?$', 'music/tracks$']</p>
  
  <pre><code>15 :       .errorlist { color: red; list-style: none; display: inline; }
     16 :     &lt;/style&gt;
     17 :     {% block extra_head %}{% endblock %}
     18 :   &lt;/head&gt;
     19 :   &lt;body&gt;
     20 :
     21 :   {% block subnav %}
     22 :       {% if user.is_authenticated %}
     23 :           &lt;ul&gt;
     24 :             &lt;li&gt;&lt;a href="{% url 'audiotracks' %}"&gt;{% trans 'Latest tracks' %}&lt;/a&gt;&lt;/li&gt;
     25 :             &lt;li&gt;&lt;a href=" {% url 'user_index' user.username %} "&gt;{% trans 'Your tracks' %}&lt;/a&gt;&lt;/li&gt;
     26 :             &lt;li&gt;&lt;a href="{% url 'upload_track' %}"&gt;{% trans 'Upload track' %}&lt;/a&gt;&lt;/li&gt;
     27 :           &lt;/ul&gt;
     28 :       {% else %}
     29 :           &amp;nbsp;
     30 :       {% endif %}
     31 :   {% endblock %}
     32 :
     33 :   {% if messages %}
     34 :   &lt;ul class="messages"&gt;
     35 :     {% for message in messages %}
  </code></pre>
  
  <p>Traceback:</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py" in inner
    41.             response = get_response(request)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py" in _legacy_get_response
    249.             response = self._get_response(request)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py" in _get_response
    187.                 response = self.process_exception_by_middleware(e, request)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py" in _get_response
    185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
    23.                 return view_func(request, *args, **kwargs)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\views\decorators\csrf.py" in wrapped_view
    58.         return view_func(*args, **kwargs)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django_audiotracks-0.2.5-py3.6.egg\audiotracks\views.py" in upload_track
    109.     return render(request, "audiotracks/new.html", {'form': form})</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\shortcuts.py" in render
    30.     content = loader.render_to_string(template_name, context, request, using=using)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader.py" in render_to_string
    68.     return template.render(context, request)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\backends\django.py" in render
    66.             return self.template.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render
    207.                     return self._render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in _render
    199.         return self.nodelist.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render
    990.                 bit = node.render_annotated(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render_annotated
    957.             return self.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py" in render
    177.             return compiled_parent._render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in _render
    199.         return self.nodelist.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render
    990.                 bit = node.render_annotated(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render_annotated
    957.             return self.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\loader_tags.py" in render
    72.                 result = block.nodelist.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render
    990.                 bit = node.render_annotated(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render_annotated
    957.             return self.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py" in render
    322.                 return nodelist.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render
    990.                 bit = node.render_annotated(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\base.py" in render_annotated
    957.             return self.render(context)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\template\defaulttags.py" in render
    458.             url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\urls\base.py" in reverse
    91.     return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))</p>
  
  <p>File "C:\Users\Alexander\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\urls\resolvers.py" in _reverse_with_prefix
    497.         raise NoReverseMatch(msg)</p>
  
  <p>Exception Type: NoReverseMatch at /music/upload
  Exception Value: Reverse for 'user_index' with arguments '('addemo1',)' not found. 2 pattern(s) tried: ['music/tracks/(?P\d)/?$', 'music/tracks$']</p>