aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-12-08 11:59:33 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-12-08 11:59:33 +0200
commited3448fe04dd357de8795be75fa3a4cc8940d41f (patch)
treefd164117f834f3806f2c3551d12920ceac08ad30 /settings.py
parentaf406a9bc323ef2e3b3a6a93574b05894cf4324f (diff)
downloadServo-ed3448fe04dd357de8795be75fa3a4cc8940d41f.tar.gz
Servo-ed3448fe04dd357de8795be75fa3a4cc8940d41f.tar.bz2
Servo-ed3448fe04dd357de8795be75fa3a4cc8940d41f.zip
Ignore 404 on favicon.ico
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/settings.py b/settings.py
index 30799c4..f62b448 100644
--- a/settings.py
+++ b/settings.py
@@ -129,11 +129,6 @@ INSTALLED_APPS = (
AUTH_USER_MODEL = 'servo.User'
AUTH_PROFILE_MODULE = 'servo.UserProfile'
-# A sample logging configuration. The only tangible logging
-# performed by this configuration is to send an email to
-# the site admins on every HTTP 500 error when DEBUG=False.
-# See http://docs.djangoproject.com/en/dev/topics/logging for
-# more details on how to customize your logging configuration.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
@@ -194,9 +189,10 @@ LOGIN_EXEMPT_URLS = [
'api/devices/'
]
-IGNORABLE_404_URLS = (
- re.compile(r'favicon\.ico$'),
-)
+# 404 URLs that should be ignored
+IGNORABLE_404_URLS = [
+ re.compile(r'favicon\.ico')
+]
TEST_RUNNER = 'servo.tests.NoDbTestRunner'