title: internal url redirection in django
body: <p>I'm fairly new to Django(experienced in Python though). I'm trying to make a new website using it for the first time and this problem is bothering me.</p>
  
  <p>Here's the user flow:</p>
  
  <ol>
  <li>The user goes to my site www.newco.com</li>
  <li><p>He is greeted by the homepage and links for 'login','signup' ,'about' etc.</p></li>
  <li><p>The user clicks on those links and goes to the respective pages.</p></li>
  </ol>
  
  <p>Here's my root urlconf:</p>
  
  <pre><code>from django.conf.urls import include, url
  from django.contrib import admin
  
  urlpatterns = [
      url(r'^$',include('homepage.urls')),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^login/$', include('userlogin.urls')),
      url(r'^signup/$', include('userlogin.urls'))
  
  ]
  </code></pre>
  
  <p>Here's my homepage.urls:</p>
  
  <pre><code>from django.conf.urls import url
  from . import views
  
  urlpatterns=[
    url(r'^$',views.index,name='index'),
    url(r'^about$',views.about,name='about'),
  
  ]
  </code></pre>
  
  <p>and finally here's my homepage.views file:</p>
  
  <pre><code>from django.shortcuts import render
  
  def index(request):
  
      return render(
          request,
          'index.html'
  
      )
  
  
  
  def about(request):
      return render(
          request,
          'about.html'
  
  
       )
  </code></pre>
  
  <p>When I go to my development server's homepage, the homepage renders correctly. I tried two approaches for going to the 'about us' page:</p>
  
  <ol>
  <li><p>I hardcoded the URL as <code>&lt;a href="/about"&gt; About us &lt;/a&gt;</code>. That redirected me to the homepage.</p></li>
  <li><p>I coded the URL as <code>{% url "about" %}</code>. This gives me the error: <strong>Reverse for 'about' with arguments '()' and keyword arguments '{}' not found. 1 pattern(s) tried: ['$about$']</strong>.</p></li>
  </ol>
  
  <p>How should I proceed about this problem, since this is a specific instance of a larger problem. Thanks for reading.</p>