Miroslav Shubernetskiy преди 10 години
родител
ревизия
615393d2f9
променени са 2 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 2
      rest_framework_bulk/drf2/mixins.py
  2. 0 1
      rest_framework_bulk/drf3/mixins.py

+ 1 - 2
rest_framework_bulk/drf2/mixins.py

@@ -1,6 +1,5 @@
 from __future__ import unicode_literals, print_function
-import traceback
-from django.core.exceptions import ImproperlyConfigured, ValidationError
+from django.core.exceptions import ValidationError
 from rest_framework import status
 from rest_framework.mixins import CreateModelMixin
 from rest_framework.response import Response

+ 0 - 1
rest_framework_bulk/drf3/mixins.py

@@ -1,5 +1,4 @@
 from __future__ import print_function, unicode_literals
-import traceback
 from rest_framework import status
 from rest_framework.mixins import CreateModelMixin
 from rest_framework.response import Response