Re: Django 1.1 - Restart required for after creating and saving object for viewing it

2010-01-26 Thread Kenny Meyer
Martin J. Laubach (mjl+goo...@emsi.priv.at) wrote: > > post_info_dict = { > >     'queryset': Post.objects.all(), > > You probably don't want to evaluate your queryset here. Drop the .all > () and you'll be good. > > mjl > Argh, the tiny details... Thanks mjl! -- You received this

Re: Django 1.1 - Restart required for after creating and saving object for viewing it

2010-01-26 Thread Martin J. Laubach
> post_info_dict = { >     'queryset': Post.objects.all(), You probably don't want to evaluate your queryset here. Drop the .all () and you'll be good. mjl -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Django 1.1 - Restart required for after creating and saving object for viewing it

2010-01-26 Thread Kenny Meyer
Hello, Problem: I basically have a blog with a ``Post`` model, representing each post of the blog. Now if I create an object, save it and want to view it I get a 404 Error with Django saying "No post found for". This like this until I restart the development server (actually when deploy