title: Django - login_required not redirecting
body: <p>I'm trying to make a view restricted unless login is done. Was following tuts+plus django unchained tutorial</p>
  
  <p>However login_required decorator somehow is not doing the job. What am I doing wrong?</p>
  
  <p>that part at views.py (login_required has been imported)</p>
  
  <pre><code>@login_required
  def story(request):
      if request.method == "POST":
          form = StoryForm(request.POST)
          if form.is_valid():
                  form.save()
                  return HttpResponseRedirect('/')
      else:
          form = StoryForm()
      return render(request, 'stories/story.html', {'form': form})
  </code></pre>
  
  <p>no changes has been brought in urls.py. So I am hoping for an error where it can't find /login. But that somehow is not happening.</p>
  
  <p>settings.py has LOGIN_URL = "/login/"</p>