Skip to content

Commit 6ac0442

Browse files
authored
clean up debugging logs (#141)
* clean up debugging logs * bumpversion and changelog
1 parent 74c2bed commit 6ac0442

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.31.4
2+
current_version = 0.31.5
33

44
[bumpversion:file:pyproject.toml]
55

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
# [unreleased]
7+
# [0.31.5]
8+
- [PR 141](https://github.com/salesforce/django-declarative-apis/pull/141) Clean up logging
89
- [PR 138](https://github.com/salesforce/django-declarative-apis/pull/138) Docs: Correct imports in code-blocks
910
- [PR 139](https://github.com/salesforce/django-declarative-apis/pull/139) Docs: Correct documentation for default value of `required` on `field`
1011
- [PR 140](https://github.com/salesforce/django-declarative-apis/pull/140) Docs: Add comment explaining why `dict`s don't have filters applied

django_declarative_apis/resources/resource.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ def authenticate(self, request, rm): # noqa: C901
153153
# workaround for django header sillyness
154154
if "HTTP_AUTHORIZATION" in request.META:
155155
request.META["AUTHORIZATION"] = request.META["HTTP_AUTHORIZATION"]
156-
logger.info("ev=dda_resource method=authenticate state=begin")
157156
# first we're going to try any authenticators that might match header hints. then, we'll try
158157
# any catch-all registered under None as a hint
159158
potential_authenticators = []
@@ -208,9 +207,6 @@ def __call__(self, request, *args, **kwargs): # noqa: C901
208207
that are different (OAuth stuff in `Authorization` header.)
209208
"""
210209
rm = request.method.upper()
211-
logger.info(
212-
f'ev=dda_resource method=__call__ content_type="{request.headers.get("content-type")}" body="{request.body}"' # noqa: E501
213-
)
214210

215211
# Django's internal mechanism doesn't pick up
216212
# PUT request, so we trick it a little here.

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
# built documents.
7575

7676
# The full version, including alpha/beta/rc tags.
77-
release = '0.31.4' # set by bumpversion
77+
release = '0.31.5' # set by bumpversion
7878

7979
# The short X.Y version.
8080
version = release.rsplit('.', 1)[0]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "django-declarative-apis"
7-
version = "0.31.4" # set by bumpversion
7+
version = "0.31.5" # set by bumpversion
88
description = "Simple, readable, declarative APIs for Django"
99
readme = "README.md"
1010
dependencies = [

0 commit comments

Comments
 (0)