On Jan 26, 2008 7:35 PM, almostvindiesel <[EMAIL PROTECTED]> wrote: > I figured {{ form['recipe_name'] }} or > {{ unicode(form['recipe_name']) }} should work per the documentation > here: http://www.djangoproject.com/documentation/newforms/, but doing > so returns the following error within the template:
Stop and think for a moment about how Django's template system works; it isn't Python, and Python dictionary access syntax doesn't work. Instead, there's a consistent way to access things like this in a template. Apply that knowledge to your form. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---