Skip to content

Commit

Permalink
drop import time logging configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetano-guerriero authored and jcohen02 committed Jan 2, 2019
1 parent 32e9c3d commit 56621a4
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions django_drf_filepond/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from django.conf import settings

LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

class DjangoDrfFilepondConfig(AppConfig):
name = 'django_drf_filepond'
Expand Down
2 changes: 0 additions & 2 deletions django_drf_filepond/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
storage = FileSystemStorage(location=FILEPOND_UPLOAD_TMP)

LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

def get_upload_path(instance, filename):
return os.path.join(instance.upload_id, filename)
Expand Down
4 changes: 0 additions & 4 deletions django_drf_filepond/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@
from django_drf_filepond.models import TemporaryUpload, storage
from django_drf_filepond.parsers import PlainTextParser
from django_drf_filepond.renderers import PlainTextRenderer
import os


LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

def _get_file_id():
file_id = shortuuid.uuid()
Expand Down
2 changes: 0 additions & 2 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@


LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

class AppSettingsTestCase(TestCase):

Expand Down
2 changes: 0 additions & 2 deletions tests/test_fetch_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@


LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

class FetchTestCase(TestCase):

Expand Down
2 changes: 0 additions & 2 deletions tests/test_process_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from django_drf_filepond import drf_filepond_settings

LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

class ProcessTestCase(TestCase):

Expand Down
2 changes: 0 additions & 2 deletions tests/test_revert_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from django_drf_filepond.models import TemporaryUpload, storage

LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

class RevertTestCase(TestCase):

Expand Down
2 changes: 0 additions & 2 deletions tests/test_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@


LOG = logging.getLogger(__name__)
logging.basicConfig()
logging.getLogger(__name__).setLevel(logging.DEBUG)

class SignalsTestCase(TestCase):

Expand Down

0 comments on commit 56621a4

Please sign in to comment.