Skip to content

Commit

Permalink
Bump version to v0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Apr 14, 2021
1 parent 09843d2 commit 291f907
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [0.2] - 2021-03-22
## [0.14] - 2021-04-14

### Removed

Expand Down
13 changes: 1 addition & 12 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
.. image:: https://badge.fury.io/py/django-request-token.svg
:target: https://badge.fury.io/py/django-request-token

.. image:: https://travis-ci.org/yunojuno/django-request-token.svg
:target: https://travis-ci.org/yunojuno/django-request-token

Supported versions
------------------

As of v0.10 this project supports Django 2.2 and above, and Python 3.7/3.8 only on the master branch. For previous verions see the relevant tag / branch.
As of v0.10 this project supports Django 2.2 and above, and Python 3.7 and above only on the master branch. For previous verions see the relevant tag / branch.

Django Request Token
--------------------
Expand All @@ -16,11 +10,6 @@ Django app that uses JWT to manage one-time and expiring tokens to protect URLs.

This app currently requires the use of PostgreSQL.

Compatibility
=============

This library is now Python3 and Django1.11 and above only.

Background
==========

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-request-token"
version = "0.2.b0"
version = "0.14"
description = "JWT-backed Django app for managing querystring tokens."
license = "MIT"
authors = ["YunoJuno <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion request_token/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ def process_exception(
) -> HttpResponse:
"""Handle all InvalidTokenErrors."""
if isinstance(exception, InvalidTokenError):
logger.error("JWT request token error", exc_info=sys.exc_info())
logger.exception("JWT request token error, raising 403")
raise PermissionDenied("Invalid request token.")

0 comments on commit 291f907

Please sign in to comment.