Changelog

v1.0.0

Note

If in your urls.py you have a url pattern with include("durin.urls")), then 2 new URL paths apiaccess/ and sessions/ will get added to your project if you upgrade to this version.

If you do not wish to have these new views, remove the above include statement and refer to durin/urls.py on how to define the URL patterns selectively for the views you want.

Features:

  • Session Management serializers and views. (Issue 19)

Refer to Session-Management-Views i.e.,
  • REST view for an authenticated user to get list of sessions (in context of django-rest-durin, this means AuthToken instances) and revoke a session. Useful for pages like “View active browser sessions”.

  • REST view for an authenticated user to get/create/delete token against a pre-defined client. Useful for pages like “Get API key” where a user can get an API key to be able to interact directly with your project’s RESTful API using cURL or a custom client.

v0.4.0

Breaking Changes:

  • Remove the hard-coding of authentication_classes, permission_classes variables in Views (durin.views). Meaning they will now use the defaults set under REST_FRAMEWORK in settings.py.

Other:

  • Support for Python 3.10. Enable CI tests for same.

  • Support for Django 4.0. Enable CI tests for same.

v0.3.0

Features:

Other:

v0.2.0

Breaking Changes:

Features:

Bug Fixes:

  • Fix bug in AuthTokenAdminView (“save and continue editing” button was not working).

  • Exception handling was missing in get_client_obj member method of durin.views.LoginView.

Other:

  • Enable CI tests for Django 3.2.

  • Better document models.py and categorize modules in documentation.

v0.1.0

  • Initial release