#29446: Include template context in error page when relevant
-------------------------------------+-------------------------------------
     Reporter:  Shai Berger          |                    Owner:  Bhupesh
                                     |  panwar
         Type:  New feature          |                   Status:  assigned
    Component:  Error reporting      |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:  template debug       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Comment (by Bhupesh panwar):

 I created a new pull request because my previous one had some issues. Here
 is the link:  https://github.com/django/django/pull/19282 .

 The issue is about retrieving the context (dictionary) from the user's
 views.py. However, I couldn't find a way to retrieve the context from
 views.py since the context variable name can vary depending on the user.

 To illustrate this, I created a context.py file as an example. Could you
 suggest how we can dynamically retrieve the context variable from
 views.py?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/29446#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070195a62a6a5d-b4fd9944-415c-4945-96a8-2ad150a41d2e-000000%40eu-central-1.amazonses.com.

Reply via email to