I have a page that shows a grid of items and dates associated with that. I 
am using a JOIN query to get the data, but it appears to be cached or 
delayed somehow. When I query the database directly I can see the data has 
been updated, but on my page when I refresh it still doesn't show data 
there. Any ideas what it could be?

This is the structure of my views.py for that page:

    cursor = connection.cursor()
    sql =   '''*** complicated sql join query here with a search 
term...***'''

    try:
        cursor.execute(sql.format(search_term))
        the_items = dictfetchall(cursor)


I'm using Postgres and Django.

I tried python manage.py clear_cache but that didn't make any difference.

Thoughts? Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dbc206eb-d189-4ce5-be62-38cde5d54457n%40googlegroups.com.

Reply via email to