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
File details
Details for the file django-table-archive-0.0.5.tar.gz.
File metadata
- Download URL: django-table-archive-0.0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
631478ec2b6b9a075088048a88c183b481bcc1d5d457f645577e7e6f9e3c7f08
|
|
| MD5 |
104598f21d0148ab585aee1f1b3bea31
|
|
| BLAKE2b-256 |
1710fa9baec5f180655520c8975b6759d2466d2c3d098ac7e52fab259a3efc75
|