title: Django home page URL being rendered as a different URL
body: <p>So, I have a simple home page for a django project I am working on. In the upper left hand corner is the logo for the site. In my template, I have this code:</p>
  
  <p><code>&lt;a href="{% url "home" %}"&gt;Company Name&lt;/a&gt;</code></p>
  
  <p>In my root urls.py, I have this:</p>
  
  <pre><code>from django.conf.urls import patterns, include, url
  urlpatterns = patterns('',
     url(r'^$', include('app.urls')),          # The main app
     url(r'^login/$', include('app.urls')),     # The login page
  )
  </code></pre>
  
  <p>and in my app/urls.py I have this:</p>
  
  <pre><code>from django.conf.urls import patterns, url
  from app import views
  
  urlpatterns = patterns('',
        url(r'^$', views.index, name='home'),             # The homepage of the website
        url(r'^login/$', views.loginView, name='login'),  # The login page of the website
  )
  </code></pre>
  
  <p>Now you would think (or at least I would) that when the index page is rendered, it would generate the html <code>&lt;a href="/"&gt;Company Name&lt;/a&gt;</code> or something similar. Instead, what I get is <code>&lt;a href="/login/"&gt;Company Name&lt;/a&gt;</code>.</p>
  
  <p>So, why happen? Obviously, this is unwanted behavior. I am almost certain the issue is in the url configuration, but I could be wrong.</p>
  
  <p>Please and thankyou</p>