Permalink
Browse files

[bug 840966] Update commonware to v0.4.2

Also added django-statsd because the graphite related middleware moved
to that lib.
  • Loading branch information...
1 parent 46ea269 commit a7dc51d4aba99171c72b9af38a5853f6dc901ec0 @rlr rlr committed Feb 26, 2013
Showing with 8 additions and 3 deletions.
  1. +3 −0 .gitmodules
  2. +2 −2 settings.py
  3. +1 −0 vendor/kitsune.pth
  4. +1 −1 vendor/src/commonware
  5. +1 −0 vendor/src/django-statsd
View
@@ -130,3 +130,6 @@
[submodule "vendor/src/raven-python"]
path = vendor/src/raven-python
url = git://github.com/getsentry/raven-python.git
+[submodule "vendor/src/django-statsd"]
+ path = vendor/src/django-statsd
+ url = git://github.com/andymckay/django-statsd.git
View
@@ -281,7 +281,7 @@
MIDDLEWARE_CLASSES = (
'multidb.middleware.PinningRouterMiddleware',
'users.middleware.StaySecureMiddleware',
- 'commonware.response.middleware.GraphiteMiddleware',
+ 'django_statsd.middleware.GraphiteMiddleware',
'commonware.request.middleware.SetRemoteAddrFromForwardedFor',
# This gives us atomic success or failure on multi-row writes. It
@@ -316,7 +316,7 @@
'twitter.middleware.SessionMiddleware',
'sumo.middleware.PlusToSpaceMiddleware',
'commonware.middleware.ScrubRequestOnException',
- 'commonware.response.middleware.GraphiteRequestTimingMiddleware',
+ 'django_statsd.middleware.GraphiteRequestTimingMiddleware',
'waffle.middleware.WaffleMiddleware',
)
View
@@ -80,3 +80,4 @@ src/django-eadred
src/raven-python
packages/google-api-python-client
packages/python-gflags
+src/django-statsd
Submodule django-statsd added at bb6019

0 comments on commit a7dc51d

Please sign in to comment.