django-rest-framework-expiring-tokens
django-rest-framework-expiring-tokens copied to clipboard
allow use of a custom token model
This commit allow the use of a custom Token model for expiring token. Eg:
class CustomModelObtainExpiringAuthToken(ObtainExpiringAuthToken):
model =CustomModelToken
obtain_expiring_auth_token = CustomModelObtainExpiringAuthToken.as_view()
Coverage remained the same at 100.0% when pulling dee4cf5068bd89bb074d86017f23230d227394bf on BrunoVillanova:master into e62f1f92a621575174172e970da624d367ac0cf6 on JamesRitchie:master.