Monday, May 21, 2018

Re: Django login() function works in production but not in development

Thanks, I probably should elaborate on that.  I determine the user does not get logged in through the logic of my template language.  I have {% if user.is_authenticated %} do something {% else %} do something else {% endif %} where user is passed through the context dictionary of my corresponding view displayed above.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2baac722-e1d1-4c6a-833e-69e69a7542a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment