title: how to keep django login page from remembering credentials
body: <p>When I first created my login view for my app I used the credentials for a user named jgreen.  Now whenever I open the login page those credentials are automatically filled in and if I enter jgreen into the username field the password field is automatically filled out.  I need this to not happen for obvious security reasons. I tried setting autocomplete on the fields to off, I tried setting autocomplete to off in both the form and fields, this didn't work.  I tried deleting my history, this didn't work either.  Here's my login code.</p>
  
  <pre><code>username = request.POST['username']
  password = request.POST['password']
  user = authenticate(username=username, password=password)
  if user is not None:
      if user.is_active:
          login(request, user)
          return HttpResponseRedirect(...)   
  </code></pre>
  
  <p>I'm out of ideas of what to try to prevent this behavior, can anyone provide any assistance or direction?  Thanks in advance for any help.</p>
  
  <p>EDIT: clarified attempts with autocomplete attribute</p>