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
Add “django_table_sharding” 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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e33e692d236d6f31d528e04d9559439736914fff169343132384bbb3650a7b5 |
|
MD5 | 44f3fe3fb41f4a5a09d6c1b5d7631878 |
|
BLAKE2b-256 | 9908e49b4895a8eaf5d74f22bd3a64b103c863f27e359286c9dcd4a9fe718314 |