summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeizhongTu <tuweizhong@163.com>2017-12-05 23:19:11 +0800
committerAshley Camba <ashwoods@gmail.com>2017-12-05 16:19:11 +0100
commitaacb9f67267dc6b22945f6c29c11ee8bf7017edd (patch)
tree6ea10a5f226c789717765c145f8938176ecd9301
parent8fb2feb3495e9f5067cb7dd65849e936e0b370d5 (diff)
downloadraven-aacb9f67267dc6b22945f6c29c11ee8bf7017edd.tar.gz
fix error django VERSION remark (#1154)
* fix error django VERSION remark Applications New in Django 1.7. https://docs.djangoproject.com/en/1.8/ref/applications/#module-django.apps
-rw-r--r--raven/contrib/django/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/raven/contrib/django/models.py b/raven/contrib/django/models.py
index 56ce82c..e9de4bf 100644
--- a/raven/contrib/django/models.py
+++ b/raven/contrib/django/models.py
@@ -272,6 +272,7 @@ def initialize():
except Exception:
_initialized = False
-# Django 1.8 uses ``raven.contrib.apps.RavenConfig``
+# Django 1.7 uses ``raven.contrib.apps.RavenConfig``
if django.VERSION < (1, 7, 0):
initialize()
+