Skip to main content

No project description provided

Project description

huscy.data_protection

Requirements

  • Python >= 3.10
  • Django >= 4.2
  • DRF >= 3.15

Installation

  1. Activate your python venv and simply run:
pip install huscy.data_protection
  1. Add data_protection and further required apps to INSTALLED_APPS in your settings module:
# settings.py
INSTALLED_APPS = [
    ...
    'guardian',
    'rest_framework',

    'huscy.data_protection',
    ...
]
  1. Add Django Guardian ObjectPermissionBackend to AUTHENTICATION_BACKENDS
AUTHENTICATION_BACKENDS = (
    'django.contrib.auth.backends.ModelBackend',
    'guardian.backends.ObjectPermissionBackend',
)
  1. Add the urls from huscy.data_protection to the central urls.py of the Django project:
urlpatterns = [
    ...
    path('/api/', include('huscy.data_protection.urls')),
]
  1. Create huscy.data_protection database 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huscy_data_protection-0.4.0a10.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huscy_data_protection-0.4.0a10-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file huscy_data_protection-0.4.0a10.tar.gz.

File metadata

File hashes

Hashes for huscy_data_protection-0.4.0a10.tar.gz
Algorithm Hash digest
SHA256 dca9c573598db7fb9d7db68855712ba2868e76c45860f6cedc509ed354e5622d
MD5 8e5c5483ca8cbb37b9ffa2693c9143f2
BLAKE2b-256 af3cbfcc82104670ec088c1533aeeda32db7ab90791bae3cc2265c8d6ab22e03

See more details on using hashes here.

File details

Details for the file huscy_data_protection-0.4.0a10-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for huscy_data_protection-0.4.0a10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d9cc81c60ff2088e7e5972f094c0e58534f3c46e48c824bb43fc130268a36dd0
MD5 78c806b2262cf4394a9dbeb2fc878503
BLAKE2b-256 4b8545c1e3a35134354885685bf15c96a6d1866aba3d586bf3351230f9da3de7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page