Re: get_object_or_404 Tutorial part 3

2011-04-13 Thread Yuka Poppe
> I believe that the cutoff is 512 bytes, but you may want to test in > different browsers to be sure. I suspected as much but wasnt quite sure, it didn't matter as much at the time I had to deal with it, and the problem went away by itself. None the less its nice to have this information floating

Re: get_object_or_404 Tutorial part 3

2011-04-13 Thread Jacob Kaplan-Moss
On Wed, Apr 13, 2011 at 6:41 AM, Yuka Poppe wrote: > I noticed this myself a while back; It was'nt django specific, and I dont > know about IE, I generally try to avoid using that; But in case of Chrome, > whenever it encounters a 404 error (or certain other conditions) it seems to > decide the vi

Re: get_object_or_404 Tutorial part 3

2011-04-13 Thread Yuka Poppe
Dear darekodz, I noticed this myself a while back; It was'nt django specific, and I dont know about IE, I generally try to avoid using that; But in case of Chrome, whenever it encounters a 404 error (or certain other conditions) it seems to decide the visitor is better off being served a generic g

get_object_or_404 Tutorial part 3

2011-04-13 Thread darekodz
I've very strange error in part 3. I want to test using function get_object_or_404. I've 3 polls, so in that adress: http://localhost:8000/polls/1/ http://localhost:8000/polls/2/ http://localhost:8000/polls/3/ everything is OK. In that adress: http://localhost:8000/polls/4/ Should be exeptions 404.