1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #23919 -- Removed usage of django.utils.decorators.ContextDecorator.

This commit is contained in:
Chillar Anand
2017-01-19 21:58:30 +05:30
committed by Tim Graham
parent 4c5ed3e683
commit 41e0033caf
4 changed files with 6 additions and 23 deletions

View File

@@ -1,7 +1,8 @@
from contextlib import ContextDecorator
from django.db import (
DEFAULT_DB_ALIAS, DatabaseError, Error, ProgrammingError, connections,
)
from django.utils.decorators import ContextDecorator
class TransactionManagementError(ProgrammingError):