Django SET EXPIRY TO 0 is not expiring it to browser close expiry

2017-11-02 Thread Umar Asghar
HI I am using DJango 1.10.5 and Django-allauth 0.31.0.

But I am trying to implement REMEMBER ME for login. So when I try to run 
this command 

request = request.session.set_expiry(0)

It does not change the session cookie age.

But If I try to set value other than 0, it updates session cookie age. 


Will you please update me about it?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/776ae04b-dcf4-4e19-8b9e-15407d9f4971%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django SET EXPIRY TO 0 is not expiring it to browser close expiry

2017-11-02 Thread Tim Graham
Hi, It sounds like you're asking for help debugging your project. Please 
use the django-users mailing list for that. This mailing list is for the 
development of Django itself.
 
I'd guess you'll be more likely to get help if you include a sample project 
that reproduces the problem.

On Thursday, November 2, 2017 at 7:18:13 AM UTC-4, Umar Asghar wrote:
>
> HI I am using DJango 1.10.5 and Django-allauth 0.31.0.
>
> But I am trying to implement REMEMBER ME for login. So when I try to run 
> this command 
>
> request = request.session.set_expiry(0)
>
> It does not change the session cookie age.
>
> But If I try to set value other than 0, it updates session cookie age. 
>
>
> Will you please update me about it?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/de4c75e0-f9c5-449e-b722-d7ccdb8ceded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django bugfix release: 1.11.7

2017-11-02 Thread James Schneider
Tim,

Is there supposed to be a tag on the GitHub repo for 1.11.7? Thanks.

-James

On Wednesday, November 1, 2017 at 8:01:06 PM UTC-7, Tim Graham wrote:
>
> Details are available on the Django project weblog: 
>
> https://www.djangoproject.com/weblog/2017/nov/01/bugfix-release/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/34c8b29e-ccd8-4e3d-89f2-fca65f1df92c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django bugfix release: 1.11.7

2017-11-02 Thread Tim Graham
Thanks, I forgot to push the tag. It's there now.

On Thursday, November 2, 2017 at 6:14:48 PM UTC-4, James Schneider wrote:
>
> Tim,
>
> Is there supposed to be a tag on the GitHub repo for 1.11.7? Thanks.
>
> -James
>
> On Wednesday, November 1, 2017 at 8:01:06 PM UTC-7, Tim Graham wrote:
>>
>> Details are available on the Django project weblog: 
>>
>> https://www.djangoproject.com/weblog/2017/nov/01/bugfix-release/ 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/1bf25b84-6b55-41cc-8025-212db815dc26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.