https://github.com/krptn/djangoexample
Example Krptn Integration with Django
https://github.com/krptn/djangoexample
authenticated-encryption authentication authentication-middleware django mfa python totp tutorial tutorials
Last synced: 5 months ago
JSON representation
Example Krptn Integration with Django
- Host: GitHub
- URL: https://github.com/krptn/djangoexample
- Owner: krptn
- Created: 2022-08-27T12:55:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-12T13:52:26.000Z (about 2 years ago)
- Last Synced: 2025-06-02T05:05:19.154Z (8 months ago)
- Topics: authenticated-encryption, authentication, authentication-middleware, django, mfa, python, totp, tutorial, tutorials
- Language: Python
- Homepage: https://docs.krptn.dev/README-DJANGO.html
- Size: 42 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Krptn Integration with Django
**Note:** for multiple reasons, this example is not production ready. Please do not use this in such an environment but rather take ideas from here on how to integrate Django and Krptn.
**Note:** in this example, the Django Admin page is not configured to work with Krptn.
Please see our [documentation for details](https://docs.krptn.dev/).
Don't forget to install Krptn & Django.
```shell
pip install -r requirements.txt
python manage.py runserver
```
Or (for Docker):
```shell
docker build -t django_example . && docker run --rm -p 8000:8000 -it django_example
```
This is an adapted version of [this tutorial](https://learndjango.com/tutorials/django-login-and-logout-tutorial).