projects
/
insider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
634d593
)
Add /favicon.ico url (tried automatically by many browsers).
author
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jul 2011 16:53:48 +0000
(12:53 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jul 2011 16:53:48 +0000
(12:53 -0400)
insider/urls.py
patch
|
blob
|
history
diff --git
a/insider/urls.py
b/insider/urls.py
index 8ed4c496044ed6ceb08d84e23cd4d4e46b0dd404..3ba3b2a14fc0d9bc68bb1137f481fc7303c4e995 100644
(file)
--- a/
insider/urls.py
+++ b/
insider/urls.py
@@
-1,3
+1,4
@@
+from django.conf import settings
from django.conf.urls.defaults import patterns, include, url
from django.views.generic import DetailView, ListView
@@
-29,4
+30,7
@@
urlpatterns = patterns('',
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls), name='admin'),
+
+ url(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to',
+ kwargs={'url': settings.STATIC_URL + 'insider.ico'}),
)