#17913: 'X' object has no attribute 'META' in RequestContext ---------------------------------+-------------------- Reporter: breton | Owner: nobody Type: Uncategorized | Status: new Component: Template system | Version: SVN Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 1 | UI/UX: 0 ---------------------------------+-------------------- {{{#!python def v2(request): t = Template('') c = RequestContext('notarequest') return HttpResponse(t.render(c)) }}} returns {{{ AttributeError at /v2/ 'str' object has no attribute 'META' }}} Maybe it should be TypeError with value "the first argument should be HttpRequest object, not str"?
-- Ticket URL: <https://code.djangoproject.com/ticket/17913> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.