A model tracking field
Project description
Model instance tracker.
Full documentation for this project available at http://django-model-controller.readthedocs.io
Overview
Come to a time that you want to able to keep track on each record of data that was created or updated. This project give you the ability to answer these questions: When this record was created? When this record was updated? Who created this record? Who updated this record?
These are the classes that you can use to extend your classes:
Model
AbstractTimeStampMarker model datetime create and update
AbstractModelController model datetime and who create and update
Form
ModelControllerForm form for automatically setup who create and update
View
CreateViewMixin view that used form class extended from ModelControllerForm must extend from CreateViewMixin
UpdateViewMixin similar to CreateViewMixin but for UpdateView
Requirements
Python (2.7, 3.2, 3.4, 3.5, 3.6)
Django (1.8, 1.9, 1.10, 2.x.x, 3.x.x)
Quick start
Install using pip:
pip install django-model-controller
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-model-controller-0.4.6.tar.gz
.
File metadata
- Download URL: django-model-controller-0.4.6.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b811d4cf7a917092be97711cae8125016adc9d07240cd3dd107b6f61dd80ad0a |
|
MD5 | 9bbb3fa0c4ac402cea6b342d71bee043 |
|
BLAKE2b-256 | e0eb279dbeeb2729fed1ca8b179acce5bed51bffba36b24d27e14aca73b5ef52 |
File details
Details for the file django_model_controller-0.4.6-py2.py3-none-any.whl
.
File metadata
- Download URL: django_model_controller-0.4.6-py2.py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d51cbe46129e7ffe329e03eee37724ba75378b21628677a42161d1ea82ddedad |
|
MD5 | f3a3b4d7419a3b88ce2b8160b3d7063b |
|
BLAKE2b-256 | f2865b79e7ba5d772c760ac27e0c2d9fae19bb73dc968fd6fcbe79f8c12cf4ac |