Overview

Request 791487 accepted

- Update to 4.1.0:
* Expiry format now defaults to whatever is used Django REST framework
* The behavior can be overriden via EXPIRY_DATETIME_FORMAT setting
* Fully customizable expiry format via format_expiry_datetime
* Fully customizable response payload via get_post_response_data
* Changes have been made to the create() method on the AuthToken model.
It now returns the model instance and the raw token instead of just
the token to allow the expiry field to be included in the success response.


Dominique Leuenberger's avatar
17-# Please, do not update to the current version, 4.x, as it is a breaking
18-# change that at least breaks drf-jwt-knox

Is that no longer the case?


John Vandenberg's avatar

Looks like drf-jwt-knox has been deleted, and it was the only package which depended on django-rest-knox, so there is no point .

To answer your question, that comment is still the case. There havent been any new releases of drf-jwt-knox https://github.com/ssaavedra/drf-jwt-knox/releases

And nobody has raised an issue upstream about any problems.

I've raised the issue upstream https://github.com/ssaavedra/drf-jwt-knox/issues/4 Seems like a very simple breakage and not difficult to patch.

Request History
Tomáš Chvátal's avatar

scarabeus_iv created request

- Update to 4.1.0:
* Expiry format now defaults to whatever is used Django REST framework
* The behavior can be overriden via EXPIRY_DATETIME_FORMAT setting
* Fully customizable expiry format via format_expiry_datetime
* Fully customizable response payload via get_post_response_data
* Changes have been made to the create() method on the AuthToken model.
It now returns the model instance and the raw token instead of just
the token to allow the expiry field to be included in the success response.


Dominique Leuenberger's avatar

dimstar_suse added openSUSE:Factory:Staging:adi:17 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:17"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:17"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:17 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:17 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:17 got accepted.

openSUSE Build Service is sponsored by