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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08dd93d19f30a236f6c1786959ce34c684f8cac50ea35c5570412d61f6827cb4 |
|
MD5 | fbf16260588bf3524135707c345df979 |
|
BLAKE2b-256 | f5a902f2906ba5d6b040c99cee7b0c98c18ced9366fa81eae9b2af5b4e5312c8 |