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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631478ec2b6b9a075088048a88c183b481bcc1d5d457f645577e7e6f9e3c7f08 |
|
MD5 | 104598f21d0148ab585aee1f1b3bea31 |
|
BLAKE2b-256 | 1710fa9baec5f180655520c8975b6759d2466d2c3d098ac7e52fab259a3efc75 |