mirror of
https://github.com/suitenumerique/django-lasuite
synced 2026-04-25 17:15:14 +02:00
a9e2daa979dc88a469cc9e42c7cbb03f59aa7fa8
Currently, only `GET` method as considered as refreshable url as it could be weird to return a redirect response for other kind of HTTP methods. On our side, we assume to be always in a XHR context so we don't want to be bothered by redirects and in case the session has expired we returned a 401 status. So we can safely ignore the request HTTP method to check if the url is refreshable.
Django La Suite
A Django library for the common requirement for the "La Suite numérique" projects.
Installation
pip install django-lasuite
Quick Start
To be documented with the first implementations.
Development
Requirements
For this project, we use uv Python package manager.
Please follow the installation guidelines on the uv documentation.
Setup
# Clone the repository
git clone https://github.com/suitenumerique/django-lasuite.git
cd django-lasuite
# Install development dependencies
make install-dev
Testing
make test
Code Quality
make lint
License
MIT License
Languages
Python
99%
Makefile
0.9%