This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Safely work with a production database in an insecure environment.

Project Description
![django-devsafe](http://i.imgur.com/MhtKl25.gif)

django-devsafe
==============

Safely work with a production database in an insecure environment. **django-devsafe** scrambles sensitive user data so that you don't accidentally expose the private information of your users during testing.

Quick start
-----------

0. Install django-devsafe

```python
pip install django-devsafe
```

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

```python
INSTALLED_APPS = (
...
'devsafe',
)
```

2. Optionally, you can use your settings file to define additional profile fields to scramble. Your User object must
have a **get_profile()** method to access these fields.

```python
DEVSAFE_FIELDS = ['secret_payment_token', 'secret_api_key']
```

3. Invoke devsafe!

```bash
python manage.py devsafe
```

Usage
----------

```bash
Usage: manage.py devsafe [options]

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

EXAMPLE:

/manage.py devsafe

Options:
--dry Dry run, does not actually scramble data. Default
False.
--quiet Be quiet. Default False.

```
Release History

Release History

This version
History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-devsafe-0.3.0.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source May 6, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting