On Mon, Mar 15, 2010 at 8:45 AM, Ken Lacey <ken.la...@dit.ie> wrote: > Using request.META['REMOTE_ADDR'] I get an error > > Exception Type: TemplateSyntaxError > Exception Value: Could not parse the remainder: '['REMOTE_ADDR']' from > 'request.METTA['REMOTE_ADDR']' > > > How do I get over this?
The Django template documentation explains how to access elements of a dictionary in a template; it might be a good idea to read through that documentation, since if you missed that part you'll almost certainly run into many more issues. -- "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-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.