projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd37389
)
Remove specific url handler for favicon
author
Magnus Hagander
<magnus@hagander.net>
Sat, 10 Mar 2018 15:40:30 +0000
(10:40 -0500)
committer
Magnus Hagander
<magnus@hagander.net>
Sat, 10 Mar 2018 15:40:30 +0000
(10:40 -0500)
Only used locally anyway, so we don't care. In production this is
handled by the webserver.
pgweb/urls.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/urls.py
b/pgweb/urls.py
index 099b0370962c92da7d72222e09298f4fb046a5ac..4bff3d77a3c416fc4e81aa52c06243cd608825fa 100644
(file)
--- a/
pgweb/urls.py
+++ b/
pgweb/urls.py
@@
-161,11
+161,6
@@
urlpatterns = [
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
- # This should not happen in production - serve by the webserver natively!
- url(r'^(favicon.ico)$', 'django.views.static.serve', {
- 'document_root': 'media',
- }),
-
# Crash testing URL :-)
url(r'^crashtest/$', pgweb.misc.views.crashtest),