title: django.contrib.auth.views.login does nothing, why?
body: <p>When I try to go to URL of view with <code>@login_required</code>, it redirects me to login form. But the rendered form has no <code>action=</code>attribute and when I click submit button nothing happens.  But when I go to <code>/admin/</code> I got the working login form. After I log in that way all views are working. I'm using <code>admin_bootstrap</code> so it's different login form. But why the default one is acting that way?</p>
  
  <p>Relevant code:</p>
  
  <p><strong>mySubApp/views.py</strong>:</p>
  
  <pre><code>@login_required
  def index(request):
      user = request.user
      return HttpResponse("Hello, world. You're at index.")
  </code></pre>
  
  <p><strong>mainApp/urls.py</strong>:</p>
  
  <pre><code>#login
  url(r'^login/$', 'django.contrib.auth.views.login', name='LogMeIn'),
  
  #mySubApp
  url(r'^subapp/', include('mySubApp.urls')),
  </code></pre>
  
  <p><strong>mySubApp/urls.py</strong>:</p>
  
  <pre><code>urlpatterns = patterns('',
  url(r'^$', views.index, name='index'),
  )
  </code></pre>
  
  <p><strong>settings.py</strong>:</p>
  
  <pre><code>LOGIN_URL = 'LogMeIn'
  </code></pre>
  
  <p>Do I need to create a custom login form to make it work or what?</p>