Renamed bid_api.http to bid_api.http_responses
authorSybren A. Stüvel <sybren@stuvel.eu>
Thu, 23 May 2019 08:15:18 +0000 (10:15 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Fri, 31 May 2019 13:54:49 +0000 (15:54 +0200)
Some code somewhere was importing `http` and that turned out to all of a
sudden use `bid_api.http`. Bad Python, bad.

bid_api/http_responses.py [moved from bid_api/http.py with 100% similarity]
bid_api/views/badger.py
bid_api/views/info.py

similarity index 100%
rename from bid_api/http.py
rename to bid_api/http_responses.py
index ecd35a7..54a0f78 100644 (file)
@@ -13,7 +13,7 @@ from django.utils.decorators import method_decorator
 from oauth2_provider.decorators import protected_resource
 
 from bid_main import models as bid_main_models
-from ..http import HttpResponseUnprocessableEntity
+from ..http_responses import HttpResponseUnprocessableEntity
 from .abstract import AbstractAPIView
 
 log = logging.getLogger(__name__)
index dc0774e..7c6a1b9 100644 (file)
@@ -9,7 +9,7 @@ from django.utils.decorators import method_decorator
 from oauth2_provider.decorators import protected_resource
 
 from .abstract import AbstractAPIView
-from ..http import HttpResponseNoContent
+from ..http_responses import HttpResponseNoContent
 from bid_main.models import Role
 
 log = logging.getLogger(__name__)