No project description provided
Project description
huscy.data_protection
Requirements
- Python >= 3.10
- Django >= 4.2
- DRF >= 3.15
Installation
- Activate your python venv and simply run:
pip install huscy.data_protection
- Add
data_protectionand further required apps toINSTALLED_APPSin your settings module:
# settings.py
INSTALLED_APPS = [
...
'guardian',
'rest_framework',
'huscy.data_protection',
...
]
- Add Django Guardian ObjectPermissionBackend to AUTHENTICATION_BACKENDS
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'guardian.backends.ObjectPermissionBackend',
)
- Add the urls from
huscy.data_protectionto the central urls.py of the Django project:
urlpatterns = [
...
path('/api/', include('huscy.data_protection.urls')),
]
- Create
huscy.data_protectiondatabase tables by running:
python manage.py makemigrations
and
python manage.py migrate
API-Endpoints
You'll find the documentation about the endpoints here --> docs: api_endpoints
Automatically remove older Requests
Older Requests are automatically removed. For timeframe and configuration purposes read the documentation --> docs: scheduled jobs
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file huscy_data_protection-0.4.0a10.tar.gz.
File metadata
- Download URL: huscy_data_protection-0.4.0a10.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dca9c573598db7fb9d7db68855712ba2868e76c45860f6cedc509ed354e5622d
|
|
| MD5 |
8e5c5483ca8cbb37b9ffa2693c9143f2
|
|
| BLAKE2b-256 |
af3cbfcc82104670ec088c1533aeeda32db7ab90791bae3cc2265c8d6ab22e03
|
File details
Details for the file huscy_data_protection-0.4.0a10-py2.py3-none-any.whl.
File metadata
- Download URL: huscy_data_protection-0.4.0a10-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9cc81c60ff2088e7e5972f094c0e58534f3c46e48c824bb43fc130268a36dd0
|
|
| MD5 |
78c806b2262cf4394a9dbeb2fc878503
|
|
| BLAKE2b-256 |
4b8545c1e3a35134354885685bf15c96a6d1866aba3d586bf3351230f9da3de7
|