• Stars
    star
    174
  • Rank 217,788 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created about 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tools to help manage user data in the age of GDPR

django-GDPR-assist

Tools to help manage your users' data in the age of GDPR

https://github.com/wildfish/django-gdpr-assist

https://travis-ci.org/wildfish/django-gdpr-assist.svg?branch=master https://coveralls.io/repos/wildfish/django-gdpr-assist/badge.svg?branch=master&service=github https://readthedocs.org/projects/django-gdpr-assist/badge/?version=latest

Features

  • Find, export and anonymise personal data to comply with GDPR requests
  • Track anonymisation and deletion of personal data to replay after restoring backups
  • Anonymise all models to sanitise working copies of a production database

Supports Django 2.2 to 4.0, on Python 3.6 to 3.10.

See the full documentation for details of how GDPR-assist works; in particular:

  • Installation - how to install
  • Usage - overview of how to use it with your project
  • Upgrading - what has changed from previous versions and how to upgrade
  • Contributing - how to contribute to the project

Quickstart

Install with pip install django-gdpr-assist, add gdpr_assist to Django's INSTALLED_APPS and add a gdpr_log definition to DATABASES.

Then start adding privacy metadata to your models:

class Comment(models.Model):
    name = models.CharField(max_length=255, blank=True)
    age = models.IntegerField(null=True, blank=True)
    message = models.TextField()

    class PrivacyMeta:
        fields = ['name', 'age']
        search_fields = ['name']
        export_fields = ['name', 'age', 'message']

This will allow you to anonymise and export data in this model using the standard gdpr-assist admin tool. You can also configure anonymisation or deletion of a related model to trigger anonymisation of your model, and can manually register a PrivacyMeta for third-party models without modifying their code.

Anonymisation and deletion events for models registered with gdpr-assist are logged for replay after a backup restoration with the gdpr_rerun management command. When you need to work with a copy of the production data, there is also the anonymise_db command, which will anonymise the whole database.

More Repositories

1

django-star-ratings

Star ratings for your Django models with a single template tag. Python 3 compatible.
Python
300
star
2

wildfish-django-starter

Django cookiecutter starter project template.
Python
107
star
3

cookiecutter-django-crud

A cookiecutter template to create a Django app around a model with CRUD views using django-vanilla-views, a floppyforms ModelForm and WebTest tests using model mommy.
Python
67
star
4

django-dashboards

Python
53
star
5

swampdragon-django-notifications-demo

Python
24
star
6

crispy-forms-gds

Django Crispy Forms template pack for the Gov.UK Design System
Python
23
star
7

docker-django

Base docker container including common django dependencies
Python
13
star
8

gabbi-hypothesis-demo

Python
11
star
9

django-isomorphic

JavaScript
9
star
10

google-cloud-container-builder-example

Python
8
star
11

cmsplugin_news

News plugin for Django CMS 2. Forked from https://207.223.240.181/MrOxiMoron/cmsplugin-news
Python
8
star
12

django-pipelines

Python
7
star
13

django-directory

App for creating a searchable directory of objects
Python
6
star
14

google-container-engine-kubernetes-cheatsheet

A cheatsheet for Google Container Engine (GKE) and Kubernetes (K8s).
6
star
15

kubernetes-django-starter

5
star
16

django-nodetest

Test JavaScript client against Django application
Python
4
star
17

django-autocomplete-search

JavaScript
4
star
18

invoker

Python
3
star
19

git-hooks

A tool for organising your hooks
Python
2
star
20

django-isomorphic-example

Code for the example of Django isomorphic
Python
1
star
21

django-mininews

Fork of defunct django-mininews
Python
1
star
22

argparsetree

Package for creating complex command line argument trees using argparse
Python
1
star