I cannot see the screenshot, but two things: 1. Why GET? :-/ 2. Did you check if the users are 'active'? i.e, active flag set?
-Venkat On Thu, Mar 20, 2014 at 1:51 AM, Don Fox <[email protected]> wrote: > My project has two superusers who have access to the Django Administration > and who manually add about 15 Users who should then be able to login and > use the site to do data entry. > > I'm using the standard code in my views > > > *def auth_view(request):* > * username = request.POST.get('username',' ')* > * password = request.POST.get('password',' ')* > * user = auth.authenticate(username=username, password=password)* > > * if user is not None:* > * auth.login(request, user)* > * return HttpResponseRedirect('/accounts/loggedin')* > * else:* > * return HttpResponseRediredt('/accounts/invalid') * > > > This should check against the users listed in the admin page? > > > [image: <Screen Shot 2014-03-19 at 11.32.11 AM.png>] > > > However ther is no acknowledgement from the loggedin.hml template. > > > Does anything come to mind that I have newgelected to do to get the login > to work. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/23a01c55-436b-4514-8be4-ed6a6915f879%40googlegroups.com<https://groups.google.com/d/msgid/django-users/23a01c55-436b-4514-8be4-ed6a6915f879%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN7tdFRWxq05gK%3DO%2BaEoS1GhFC-VMcd2xCQST_m_tf1kFUCnGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

