Snapshot of data changes in django models
Project description
# UNICEF Snapshot
Snapshot is a library that provides snapshot of data changes on django model.
## Installation
pip install unicef-snapshot
## Setup
Add ``unicef_snapshot`` to ``INSTALLED_APPS`` in ``settings.py``
INSTALLED_APPS = [
...
'unicef_snapshot',
]
## Usage
Use ``unicef-snapshot`` in serializers
from unicef_snapshot.serializers import SnapshotModelSerializer
class ExampleSerializer(SnapshotModelSerializer):
...
## Contributing
### Environment Setup
To install the necessary libraries
$ make install
### Coding Standards
See `PEP 8 Style Guide for Python Code <https://www.python.org/dev/peps/pep-0008/>`_ for complete details on the coding standards.
To run checks on the code to ensure code is in compliance
$ make lint
### Testing
Testing is important and tests are located in `tests/` directory and can be run with;
$ make test
Coverage report is viewable in `build/coverage` directory, and can be generated with;
### Project Links
- Continuos Integration - https://circleci.com/gh/unicef/unicef-snapshot/tree/develop
- Source Code - https://github.com/unicef/unicef-snapshot
Snapshot is a library that provides snapshot of data changes on django model.
## Installation
pip install unicef-snapshot
## Setup
Add ``unicef_snapshot`` to ``INSTALLED_APPS`` in ``settings.py``
INSTALLED_APPS = [
...
'unicef_snapshot',
]
## Usage
Use ``unicef-snapshot`` in serializers
from unicef_snapshot.serializers import SnapshotModelSerializer
class ExampleSerializer(SnapshotModelSerializer):
...
## Contributing
### Environment Setup
To install the necessary libraries
$ make install
### Coding Standards
See `PEP 8 Style Guide for Python Code <https://www.python.org/dev/peps/pep-0008/>`_ for complete details on the coding standards.
To run checks on the code to ensure code is in compliance
$ make lint
### Testing
Testing is important and tests are located in `tests/` directory and can be run with;
$ make test
Coverage report is viewable in `build/coverage` directory, and can be generated with;
### Project Links
- Continuos Integration - https://circleci.com/gh/unicef/unicef-snapshot/tree/develop
- Source Code - https://github.com/unicef/unicef-snapshot
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
unicef_snapshot-0.2.2.tar.gz
(14.1 kB
view details)
File details
Details for the file unicef_snapshot-0.2.2.tar.gz
.
File metadata
- Download URL: unicef_snapshot-0.2.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a270ae16d4507f6b25192c02bbababaeebd6323233160d56a921de517514110b |
|
MD5 | b3ad5a5891368c7283a749f59946df86 |
|
BLAKE2b-256 | a60368fd17aed5165fcdca45bc0e51234f00c1e2a0eadc89556d1fe0ea77b492 |