Posts.objects.published() not being updated when new object added to database
1 view
Skip to first unread message
Dan Conner
unread,
Oct 22, 2008, 8:10:25 AM10/22/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django Basic Apps
My site is running basic.blog, with a Django release somewhere around
0.98, using manage.py runfcgi method=prefork, and
postgresql_psycopg2 / Postgres database.
When I create a new post object, it doesn't make it in to the
Post.objects.published() queryset.
If I go to terminal, run manage.py shell and run the query, the object
is included in the queryset. The columns in the database are getting
set correctly.
If I restart the fcgi processes, the post is included in
the .published() queryset.
I'm not using any caching mechanism (that I know of).
And I'm perplexed. I know this is probably not an issue with the
basic.blog application itself, but would anyone with more experience
know where to look for why the new posts are not showing up.
Thanks,
dc
Dan Conner
unread,
Oct 22, 2008, 8:31:42 AM10/22/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django Basic Apps
nevermind. just a discrepancy between server time and local javascript
client time. I think.
JGAllen23
unread,
Dec 10, 2008, 9:20:30 PM12/10/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django Basic Apps
I'm having the same issue, but it's not a server vs local time issue
because on my category page the blog entry shows up. If I click on
the blog, it goes to a 404 page. If I restart the webserver,
everything works.
Any ideas?
Christos Trochalakis
unread,
Dec 11, 2008, 1:15:12 PM12/11/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-b...@googlegroups.com
On Thu, Dec 11, 2008 at 4:20 AM, JGAllen23 <j.greg...@gmail.com> wrote: > > I'm having the same issue, but it's not a server vs local time issue > because on my category page the blog entry shows up. If I click on > the blog, it goes to a 404 page. If I restart the webserver, > everything works. > > Any ideas? >
I have opened a bug report for that a few days ago here: