{ "info": { "author": "Klemen Sever", "author_email": "klemen@achedeuzot.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "===========================\nDjango Timestampable Models\n===========================\n\n.. image:: https://travis-ci.org/achedeuzot/django-timestampable.svg?branch=master\n :target: https://travis-ci.org/achedeuzot/django-timestampable.svg?branch=master\n\n.. image:: https://coveralls.io/repos/github/achedeuzot/django-timestampable/badge.svg?branch=master\n :target: https://coveralls.io/github/achedeuzot/django-timestampable?branch=master\n\n\nDjango Timestampable model is a simple enhancement mixin that enables Django models to have a ``created_at``\nand ``updated_at`` field that is always updated.\n\nThis has been done under many plugins *BUT* the main difference between this plugin and the\nmany others out there that do the same, is that Django Timestampable Models update\nthe ``updated_at`` field under any circumstance: fixture loading, bulk updates, etc. whereas traditional\nTimestampable mixins only provide shorthand for ``auto_add`` and ``auto_add_now`` shortcuts for ``DateTimeField`` s.\n\nIt achieves this by using Django signals.\n\nQuick start\n-----------\n\n1. Add \"django_timestampable\" to your ``INSTALLED_APPS`` settings like this:\n\n.. code-block:: python\n\n INSTALLED_APPS = [\n ...\n 'django_timestampable',\n ]\n\n2. Add ``TimestampableModel`` in your ``Model`` s like so:\n\n.. code-block:: python\n\n class Stuff(TimestampableModel):\n\n some_attribute = CharField()\n\n ...\n\n3. Run `python manage.py makemigrations` then `python manage.py migrate` to add the columns to your models\nin your database.\n\nRequirements\n------------\n\nNo dependencies.\n\nTested on `Django`_ 1.9.9, 1.10.1 with Python 2.7, 3.4, 3.5\n\n.. _Django: http://www.djangoproject.com/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/achedeuzot/django-timestampable/tarball/0.1.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/achedeuzot/django-timestampable", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-timestampable-model", "package_url": "https://pypi.org/project/django-timestampable-model/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-timestampable-model/", "project_urls": { "Download": "https://github.com/achedeuzot/django-timestampable/tarball/0.1.4", "Homepage": "https://github.com/achedeuzot/django-timestampable" }, "release_url": "https://pypi.org/project/django-timestampable-model/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "A simple Django model mixin for timestampable models", "version": "0.1.4" }, "last_serial": 2339164, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "da62ac4887bfa517548a6221af4134d3", "sha256": "28345b0b3bf3f5163384931d1576ff774eaeb0311e9d3d23594c1e5d912b3af0" }, "downloads": -1, "filename": "django-timestampable-model-0.1.2.tar.gz", "has_sig": false, "md5_digest": "da62ac4887bfa517548a6221af4134d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2961, "upload_time": "2016-08-18T13:23:01", "url": "https://files.pythonhosted.org/packages/37/6f/11deb6c53615dd0086d16cb24fef769e1501d7eda9669c5876dcf7a287bf/django-timestampable-model-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "ab25abde8482c9ae91875ae36af19924", "sha256": "1a77313916bddb30294dac9e2c82a97aa82d9d66e0bf76ed1cf0461efdbee401" }, "downloads": -1, "filename": "django-timestampable-model-0.1.3.tar.gz", "has_sig": false, "md5_digest": "ab25abde8482c9ae91875ae36af19924", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3719, "upload_time": "2016-09-12T18:28:32", "url": "https://files.pythonhosted.org/packages/02/20/205cb92f725c40b385bb66a3ed94c5c641a2e05469c3ba02c24f443f7807/django-timestampable-model-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "490d5579c7a6e55fdd63722d7bf78198", "sha256": "79e2ae5aeba69fdddf1c15ed791c6daaa68a922937b29f9eb7d6d799656c5879" }, "downloads": -1, "filename": "django-timestampable-model-0.1.4.tar.gz", "has_sig": false, "md5_digest": "490d5579c7a6e55fdd63722d7bf78198", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4601, "upload_time": "2016-09-12T23:33:14", "url": "https://files.pythonhosted.org/packages/9d/a1/b35faaec2cc20da2b659552c7e63bc4f89f2b1dc59ced384979ce9ca90cd/django-timestampable-model-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "490d5579c7a6e55fdd63722d7bf78198", "sha256": "79e2ae5aeba69fdddf1c15ed791c6daaa68a922937b29f9eb7d6d799656c5879" }, "downloads": -1, "filename": "django-timestampable-model-0.1.4.tar.gz", "has_sig": false, "md5_digest": "490d5579c7a6e55fdd63722d7bf78198", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4601, "upload_time": "2016-09-12T23:33:14", "url": "https://files.pythonhosted.org/packages/9d/a1/b35faaec2cc20da2b659552c7e63bc4f89f2b1dc59ced384979ce9ca90cd/django-timestampable-model-0.1.4.tar.gz" } ] }