#28735 closed Bug (fixed)
Typo in django/views/templates/default_urlconf.html — at Version 5
Reported by: | Scot Hacker | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 2.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
Default login view says:
You are seeing this page because DEBUG=True is in your settings file and have not configured any URLs.
Missing the word "you" and it may not be correct that dev has not configured any URLs. May be that dev has just not configured URLs for *this* URL.
Will submit a PR to correct this text to :
You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs for this page.
Could also be "for this URL" or "for this view". Thoughts?
Change History (4)
comment:1 by , 7 years ago
Component: | Uncategorized → Core (Other) |
---|---|
Description: | modified (diff) |
Has patch: | set |
Summary: | Typos in 2.0 default login view → Typo in django/views/templates/default_urlconf.html |
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Bug |
comment:5 by , 7 years ago
Description: | modified (diff) |
---|
The reason I made the distinction about "for this page/URL" is that in my case, I had configured lots of URLs, I just had not configured one for "/". So the language "you have not configured *any* URLs" did not feel correct. But that's probably an uncommon use case.
As I mentioned on the PR, I don't think "for this page" is correct (that language isn't present in older versions of Django). The
default_urlconf
view is used if the URLconf is empty or if the default URLconf is present.