~ubuntuone-hackers/django-statsd/trunk

« back to all changes in this revision

Viewing changes to django_statsd/patches/db.py

  • Committer: Andy McKay
  • Date: 2015-06-18 16:13:09 UTC
  • mfrom: (101.1.3)
  • Revision ID: git-v1:716818a9eda7ed183a1ec7ce46855f5cbc81d7c8
Merge pull request #82 from jlachowski/master

Fix deprecation warnings for util

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import django
2
 
from django.db.backends import util
 
2
try:
 
3
    from django.db.backends import utils as util
 
4
except ImportError:
 
5
    from django.db.backends import util
3
6
 
4
7
from django_statsd.patches.utils import wrap, patch_method
5
8
from django_statsd.clients import statsd