Code styling around URL in 404 pages shown with DEBUG = True

62 views
Skip to first unread message

James Lu

unread,
Nov 26, 2015, 5:46:24 PM11/26/15
to django-d...@googlegroups.com
When you get a 404 with DEBUG = True the URL shown (look at the arrow in image below) isn't in a code box. Additionaly, it'd be helpful if the URL is root it shows (root directory)
 or something similar.



Asking for the OK before submitting as a feature request, thanks.


Aymeric Augustin

unread,
Nov 27, 2015, 2:21:35 AM11/27/15
to django-d...@googlegroups.com
Hello James,

This sounds reasonable. I would avoid using “root directory” to describe an URL because there isn’t usually a mapping between directories and URLs in Django projects.

-- 
Aymeric.



On 26 nov. 2015, at 23:44, James Lu <jam...@gmail.com> wrote:

When you get a 404 with DEBUG = True the URL shown (look at the arrow in image below) isn't in a code box. Additionaly, it'd be helpful if the URL is root it shows (root directory)
 or something similar.
<Screen Shot 2015-11-26 at 5.29.01 PM.png>


Asking for the OK before submitting as a feature request, thanks.



--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CANQHGB3xNNdh4Gip-CGA9wjqtTZNyiz1knVvyiWxCDrfA%2Bdszg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages