A Django app to automatically handle archiving model tables in MySQL.
Project description
Django table archive is an app that will allow you to backup your models in MySQL to a different database.
Quick start
pip install django-table-archive
Add “django_table_archive” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'django_table_archive', ]
Add this to your settings.py:
ARCHIVE_TABLES = [ { 'table': 'api_person', 'days_old': '90', 'date_field': 'date_created' } ]
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
Close
Hashes for django-table-archive-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6aee0541e8243bc5eadd79f9df98ab745cd827a807366cc4e40024d9d697568 |
|
MD5 | 302c6f9ecc79780befaeed9e36069f77 |
|
BLAKE2b-256 | 8486ee3ebdc526c4e2af139a5de18977038863de310a618a76b1e61bf744f2f0 |