Skip to main content

Safely work with a production database in an insecure environment.

Project description



Safely work with a production database in an insecure environment. Scrambles sensitive user data.

Quick start

0. Install django-devsafe

pip install django-devsafe

1. Add "devsafe" to your INSTALLED_APPS setting like this:


2. Invoke devsafe!

python devsafe


Usage: devsafe [options]

Scrambles your sensitive user data. By default, this just does email addresses and passwords. Omits superusers and staff.


/ devsafe

Verbosity level; 0=minimal output, 1=normal output,
2=all output
--settings=SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be
A directory to add to the Python path, e.g.
--traceback Print traceback on exception
--dry Dry run, does not actually scramble data. Default
--quiet Be quiet. Default False.
--version show program's version number and exit
-h, --help show this help message and exit

Project details

Download files

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

Files for django-devsafe, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-devsafe-0.1.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page