Had the same issue and the info below allowed me to resolve the issue,
i.e. is_valid() is now returning True on a valid username/password
combination. Seemed to me that the key was setting the test cookie and
assigning the POST data into the 'data' variable. The former makes
sense to me. The latte
I know this is way delayed, but in the hopes it helps someone else out
there... if you have,
SESSION_COOKIE_SECURE = True
then the browser may not be sending the cookie back to your view on an
http (i.e. not https) page. The behavior is as you described. The
admin login complains that the browser
I'm looking for a pointer to sample code or advice regarding what is
the best way to build a form that allows the user to select from
several options and supply additional textual input that is associated
with the option they chose, e.g.
choices = [
('option1', 'value1'), # additional text inp
3 matches
Mail list logo