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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae85f6242ae279a81a960a84ba4956623748ea524cd27a4c3e506233e9be068 |
|
MD5 | f557808927dbec2d43dff3da499945c5 |
|
BLAKE2b-256 | 49ce6610802b4afe3b7504147d93cebf71572550c19d56cce6b6ef4798e6fa49 |