I'm not to keen on what your exact code may be, but this perhaps is a
problem with the query and not the date?, you can check the value of the
today variable before the query to see if it effectively stays the same,
probably the query is not working as expected, perhaps showing the query
code can help.

Regards,
Carlos Ruvalcaba


On Thu, Apr 4, 2013 at 1:53 PM, pkraus <[email protected]> wrote:

> I have an app that seems to be caching the date. For instance i have a
> page which gets today = datetime.date.today() and then uses the result in a
> sqlquery. This works fine on the same day that app is started. After that i
> have to restart paster for it work correctly as it still see "today" as
> "yesterday".
>
> Thoughts?
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to