Re: Deleted blog posts not disappearing

2010-03-30 Thread Karen Tracey
On Tue, Mar 30, 2010 at 11:23 AM, grimmus wrote: > Thanks for the replies. > > I am using generic date based views for the page, so i am passing > other things through the extra_context : > > My code is here http://dpaste.com/hold/177740/ > > Thanks for any more info. > > Please read: http://docs

Re: Deleted blog posts not disappearing

2010-03-30 Thread grimmus
Thanks for the replies. I am using generic date based views for the page, so i am passing other things through the extra_context : My code is here http://dpaste.com/hold/177740/ Thanks for any more info. On Mar 26, 4:06 pm, Karen Tracey wrote: > On Fri, Mar 26, 2010 at 9:32 AM, grimmus wrote:

Re: Deleted blog posts not disappearing

2010-03-26 Thread Karen Tracey
On Fri, Mar 26, 2010 at 9:32 AM, grimmus wrote: > In the view: > > diary = Entry.objects.filter(status=1).order_by('-pub_date')[:5] > > t = loader.get_template('cms/page.html') > c = RequestContext(request,{ > 'diary':diary, > }) > return HttpResponse(t.render(c)) > Is that diary = line real

Re: Deleted blog posts not disappearing

2010-03-26 Thread grimmus
In the view: diary = Entry.objects.filter(status=1).order_by('-pub_date')[:5] t = loader.get_template('cms/page.html') c = RequestContext(request,{ 'diary':diary, }) return HttpResponse(t.render(c)) And the template {% for entry in diary %}

Re: Deleted blog posts not disappearing

2010-03-26 Thread Daniel Roseman
On Mar 26, 11:25 am, grimmus wrote: > Hi, > > I have a website with 5 pages and a blog. > > At the bottom of every page is a list of recent blog posts. > > When i delete some blog posts they still appear in the recent posts > list. > > I am not using any caching. > > If i restart the local dev ser

Deleted blog posts not disappearing

2010-03-26 Thread grimmus
Hi, I have a website with 5 pages and a blog. At the bottom of every page is a list of recent blog posts. When i delete some blog posts they still appear in the recent posts list. I am not using any caching. If i restart the local dev server then they disappear. Could anyone tell me why this