Re: Logout time

2023-07-28 Thread Ruby
I could barely understand what you meant, I believe you're looking for a way to set how to set a session cookie age, if that is the case, see SESSION_COOKIE_AGE If that is not the case, note that you also have `la

Re: Logout time

2023-07-28 Thread Madhusudhan Reddy
for better understanding [image: Screenshot from 2023-07-28 20-18-37.png] On Fri, 28 Jul 2023 at 20:15, Madhusudhan Reddy wrote: > To get Logout time based on login time, > > login time = some thing > > logout time = login time + 8 hours > > use datetime timedelta module in python, > > >>> CODE

Re: Logout time

2023-07-28 Thread Madhusudhan Reddy
To get Logout time based on login time, login time = some thing logout time = login time + 8 hours use datetime timedelta module in python, >>> CODE <<< from datetime import datetime, timedelta login_time = datetime.now() logout_time = login_time + timedelta(hours=8) >>> CODE <<< On Fr

Re: Logout time

2023-07-28 Thread Annadatha Rao
look for session : if session expires you have to log in again. It is the same for all apps irrespective of python. Thank you, Annadatha. On Fri, Jul 28, 2023 at 8:05 PM Prashanth Patelc wrote: > Hi all, > > How to get logout time based on login time in python? > > I'm storing hour in one colu

Re: Logout time

2023-07-28 Thread Madhusudhan Reddy
Please describe the problem properly bro. we are not understanding On Fri, 28 Jul 2023 at 20:05, Prashanth Patelc wrote: > Hi all, > > How to get logout time based on login time in python? > > I'm storing hour in one column > Eg ; hour > 8 > Based on 8 Calculate logout time > > My lo

Logout time

2023-07-28 Thread Prashanth Patelc
Hi all, How to get logout time based on login time in python? I'm storing hour in one column Eg ; hour 8 Based on 8 Calculate logout time My login time 10:00:00 I need 6: 00:00 (based 8) -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: NGINX PAGE NOT FOUND

2023-07-28 Thread Ruby
Hi, Have you checked the organization of your URL patterns?. On Thu, Jul 27, 2023 at 12:16 PM clas...@gmail.com wrote: > Dockerfile > > ### > # BUILDER # > ### > > # pull official base image > FROM python:3.11.2-slim as builder > > # set work directory > WORKDIR /app > > # set en