mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
679b49b4f7
* Update ApiToken model - Add metadata - Remove unique_together requirement - Add last_seen field * Update admin page for token * Store metadata against token on creation * Track last-seen date * Allow match against existing valid token - If token is expired or revoked, create a new one - Prevents duplication of tokens * Update unit tests * Fix default server * Improve functionality for extracting frontend settings * Update default server list * Use f-strings * Revert logger name * Remove mark_safe warning |
||
---|---|---|
.. | ||
fixtures | ||
migrations | ||
__init__.py | ||
admin.py | ||
api.py | ||
apps.py | ||
authentication.py | ||
models.py | ||
serializers.py | ||
test_api.py | ||
test_migrations.py | ||
tests.py |