Re: Need to trigger action on 4th Saturday of the month

2023-07-27 Thread M Cain
thank you Ross. that is an interesting idea. in my USE case, i would need to check if today is sign up Saturday and then display the 'Signup Saturday page', otherwise leave the other pages active. On Tuesday, July 25, 2023 at 3:06:38 PM UTC-4 Ross Meredith wrote: > No need to involve anything

Re: Need to trigger action on 4th Saturday of the month

2023-07-27 Thread M Cain
thank you. I will try it out. On Tuesday, July 25, 2023 at 4:57:33 PM UTC-4 Chetan Ganji wrote: > Hi Mr Cain, > > This would make more sense to me! > https://django-celery-beat.readthedocs.io/en/latest/ > > You could create background tasks to create background tasks that run at > any specific

Re: NGINX PAGE NOT FOUND

2023-07-27 Thread clas...@gmail.com
Dockerfile ### # BUILDER # ### # pull official base image FROM python:3.11.2-slim as builder # set work directory WORKDIR /app # set environment variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # install system dependencies RUN apt-get update && \ apt-get install

Re: CreateView for non default database

2023-07-27 Thread David Nugent
Database Router is the trick for this. Django calls this function to determine which database the transaction will use based on the type of operation requested, so you can separate which database is selected for reads, writes and migrations. Regards, David On Wed, Jul 26, 2023 at 1:11 PM Muhammad