JWT implementation for Django and Django Rest Framework
Project description
# django-jwt [](https://pypi.python.org/pypi/django-jwt) [](https://pypi.python.org/pypi/django-jwt) [](https://travis-ci.org/ah450/django-jwt) [](https://codeclimate.com/github/ah450/django-jwt) [](https://codeclimate.com/github/ah450/django-jwt/coverage) [](https://codeclimate.com/github/ah450/django-jwt) [](https://en.wikipedia.org/wiki/MIT_License) [](https://github.com/ah450/django-jwt/issues) []()
A package that provides JWT authentication and related functionality for django and [DRF](https://django-rest-framework.org).
# Installation pip install djang-jwt If you require DRF support install the drf extras via pip install django-jwt[drf]
# Settings profile_klass should be set to your profile model
user_reverse_profile_key should be the related name of profile on user model
jwt_realm should be set to your app name, user friendly version
email_subject should be set to your a user friendly string that will appear in email subjects
FROM_EMAIL_ADDRESS should also be set.
email_templates_dir should be set to a directory that contains activate_account.txt andreset_pass.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-jwt-1.0.0.tar.gz
.
File metadata
- Download URL: django-jwt-1.0.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f1e36a1b1f8e922786505df954492d7e89b5fd2b697ef503fff0c4ed4954579a
|
|
MD5 |
226a496c2fc088c2d0dbc6dcfe9c186f
|
|
BLAKE2b-256 |
819a3bae9a5a60538eafb1082fb850a4a684701f8848b2eacb4efb45a7f6edf1
|