Monday, July 23, 2012

Re: Two identical pages but only one works

On Mon, Jul 23, 2012 at 1:20 PM, twelve_o_clock
<twelve_o_clock@lavabit.com> wrote:
> return render_to_response('micropost/micropost_list.html',
> {'mposts',mposts})

is that copy/paste? check the dictionary syntax, it should be

{'mposts':mposts}

--
Javier

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment