it seem to me, it's in the template. when it should work like this:
{{ request.META.REMOTE_ADDR }} btw: > 'request.METTA['REMOTE_ADDR']' <--- in META is one T to much On Mar 15, 2:45 pm, Ken Lacey <ken.la...@dit.ie> wrote: > Hi > > I am trying to access the remote addr in a view. > > 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? > > Thanks > > Ken -- 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.