title: Django - is not a registered namespace
body: <p>I am trying to process a form in django/python using the following code.</p>
  <hr />
  <p>home.html:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;form action=&quot;{% url 'home:submit' %}&quot; method='post'&gt;
  </code></pre>
  <hr />
  <p>views.py:</p>
  <pre class="lang-py prettyprint-override"><code>def submit(request):
      a = request.POST(['initial'])
      return render(request, 'home/home.html', {
          'error_message': &quot;returned&quot;
      })
  </code></pre>
  <hr />
  <p>urls.py:</p>
  <pre class="lang-py prettyprint-override"><code>from django.conf.urls import url
  from . import views
  
  urlpatterns = [
      url(r'^submit/$', views.submit, name='submit')
  ]
  </code></pre>
  <p>when I try to run it in a browser I get the error:</p>
  <p><code>NoReverseMatch at /home/ u'home' is not a registered namespace</code></p>
  <p>and another error message indicating a problem with the form.</p>