django-model-controller


Namedjango-model-controller JSON
Version 0.4.6 PyPI version JSON
download
home_pagehttps://github.com/NorakGithub/django-model-controller
SummaryA model tracking field
upload_time2023-03-15 10:21:01
maintainer
docs_urlNone
authorKhemanorak Khath
requires_python
licenseBSD
keywords django model controller tracking
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Django Model Controller
=======================

.. image:: https://travis-ci.org/NorakGithub/django-model-controller.svg?branch=master
    :target: https://travis-ci.org/NorakGithub/django-model-controller
.. image:: https://readthedocs.org/projects/django-model-controller/badge/?version=latest

**Model instance tracker.**

Full documentation for this project available at `http://django-model-controller.readthedocs.io <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:

.. code-block:: sh

    pip install django-model-controller

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/NorakGithub/django-model-controller",
    "name": "django-model-controller",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django model controller tracking",
    "author": "Khemanorak Khath",
    "author_email": "khath.khemanorak@google.com",
    "download_url": "https://files.pythonhosted.org/packages/e0/eb/279dbeeb2729fed1ca8b179acce5bed51bffba36b24d27e14aca73b5ef52/django-model-controller-0.4.6.tar.gz",
    "platform": null,
    "description": "Django Model Controller\n=======================\n\n.. image:: https://travis-ci.org/NorakGithub/django-model-controller.svg?branch=master\n    :target: https://travis-ci.org/NorakGithub/django-model-controller\n.. image:: https://readthedocs.org/projects/django-model-controller/badge/?version=latest\n\n**Model instance tracker.**\n\nFull documentation for this project available at `http://django-model-controller.readthedocs.io <http://django-model-controller.readthedocs.io>`_\n\n----\n\nOverview\n--------\nCome to a time that you want to able to keep track on each record of data that was created or updated. \nThis project give you the ability to answer these questions: When this record was created? When this record was updated? \nWho created this record? Who updated this record?\n\nThese are the classes that you can use to extend your classes:\n\nModel\n-----\n- **AbstractTimeStampMarker** model datetime create and update\n- **AbstractModelController** model datetime and who create and update\n\nForm\n----\n- **ModelControllerForm** form for automatically setup who create and update\n\nView\n----\n- **CreateViewMixin** view that used form class extended from ModelControllerForm must extend from CreateViewMixin \n- **UpdateViewMixin** similar to CreateViewMixin but for UpdateView\n\nRequirements\n------------\n\n- Python (2.7, 3.2, 3.4, 3.5, 3.6)\n- Django (1.8, 1.9, 1.10, 2.x.x, 3.x.x)\n\nQuick start\n-----------\n\nInstall using pip:\n\n.. code-block:: sh\n\n    pip install django-model-controller\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A model tracking field",
    "version": "0.4.6",
    "split_keywords": [
        "django",
        "model",
        "controller",
        "tracking"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f2865b79e7ba5d772c760ac27e0c2d9fae19bb73dc968fd6fcbe79f8c12cf4ac",
                "md5": "f3a3b4d7419a3b88ce2b8160b3d7063b",
                "sha256": "d51cbe46129e7ffe329e03eee37724ba75378b21628677a42161d1ea82ddedad"
            },
            "downloads": -1,
            "filename": "django_model_controller-0.4.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f3a3b4d7419a3b88ce2b8160b3d7063b",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 9542,
            "upload_time": "2023-03-15T10:20:59",
            "upload_time_iso_8601": "2023-03-15T10:20:59.878197Z",
            "url": "https://files.pythonhosted.org/packages/f2/86/5b79e7ba5d772c760ac27e0c2d9fae19bb73dc968fd6fcbe79f8c12cf4ac/django_model_controller-0.4.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e0eb279dbeeb2729fed1ca8b179acce5bed51bffba36b24d27e14aca73b5ef52",
                "md5": "9bbb3fa0c4ac402cea6b342d71bee043",
                "sha256": "b811d4cf7a917092be97711cae8125016adc9d07240cd3dd107b6f61dd80ad0a"
            },
            "downloads": -1,
            "filename": "django-model-controller-0.4.6.tar.gz",
            "has_sig": false,
            "md5_digest": "9bbb3fa0c4ac402cea6b342d71bee043",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6980,
            "upload_time": "2023-03-15T10:21:01",
            "upload_time_iso_8601": "2023-03-15T10:21:01.399104Z",
            "url": "https://files.pythonhosted.org/packages/e0/eb/279dbeeb2729fed1ca8b179acce5bed51bffba36b24d27e14aca73b5ef52/django-model-controller-0.4.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-15 10:21:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "NorakGithub",
    "github_project": "django-model-controller",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "django-model-controller"
}
        
Elapsed time: 0.12575s