#26886: TECHNICAL_404_TEMPLATE logs an "Exception while resolving variable"
warning
for URLResolver in urlpatterns
-------------------------------------+-------------------------------------
Reporter: None | Owner: None
Type: | Status: new
Cleanup/optimization |
Component: Error reporting | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):
* has_patch: 0 => 1
* resolution: duplicate =>
* stage: Accepted => Unreviewed
* status: closed => new
* summary:
TECHNICAL_404_TEMPLATE logs an "Exception while resolving variable"
warning
=>
TECHNICAL_404_TEMPLATE logs an "Exception while resolving variable"
warning for URLResolver in urlpatterns
Comment:
Ran into the giant traceback from comment:7 running a Django app where my
only urlpattern is `path("admin/", admin.site.urls)` and my browser
requested `/favicon.ico`.
Regardless of #28526, I think there is a simple solution along the lines
of comment:3 to improve this specific template, see
[https://github.com/django/django/pull/19880 PR]. I think this is worth
improving to improve the DX in the early days of working on a Django site.
--
Ticket URL: <https://code.djangoproject.com/ticket/26886#comment:9>
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/010701995dc3a7cd-bc74c767-f25f-422c-a9d7-593586befcda-000000%40eu-central-1.amazonses.com.