Commits

Joe Heck committed 2f87707

adding favicon

  • Participants
  • Parent commits 1220975

Comments (0)

Files changed (3)

eyeswebapp/settings.py

 
 ROOT_URLCONF = 'eyeswebapp.urls'
 
-#LOGIN_REDIRECT_URL = '/'
-
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.

eyeswebapp/static_media/img/favicon.ico

Added
New image

eyeswebapp/urls.py

     (r'^$', 'eyeswebapp.core.views.index'),
     (r'^core/', include('eyeswebapp.core.urls')),
     (r'^api/', include('eyeswebapp.api.urls')),
+    
+    (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static_media/img/favicon.ico'}),
 
     # Uncomment the next line to enable the admin:
     (r'^admin/', include(admin.site.urls)),