{ "info": { "author": "Colin Howe", "author_email": "colin@colinhowe.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-model-versions\n\nA library for adding version information to models. This version information\nis then used to prevent concurrent modifications. E.g.\n\n>>> b1 = Blog.objects.get(id=1)\n>>> b2 = Blog.objects.get(id=1) # Same row as b1\n>>> b1.title = 'Some blog'\n>>> b1.save()\n>>> b2.title = 'Some other blog'\n>>> b2.save()\n\nWill result in a ConcurrentModificationException being raised instead of\noverriding the data saved by b1.\n\nUsage\n-----\n\nSubclass modelversions.VersionedModel instead of django.db.models.Model.\nThat's it!\n\n\nKnown flaws\n-----------\n\nobjects.update(...) will not increment the version number for objects altered.\nThis would be better as a mixin.\nobject.delete() will not check versioning\nDjango admin hates it\n\n\nAuthor\n------\n\nColin Howe \nhttp://www.colinhowe.co.uk - @colinhowe", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/colinhowe/django-model-versions", "keywords": null, "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "django-model-versions", "package_url": "https://pypi.org/project/django-model-versions/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-model-versions/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/colinhowe/django-model-versions" }, "release_url": "https://pypi.org/project/django-model-versions/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "A base model class for adding version information and preventing concurrent modifications", "version": "0.4.0" }, "last_serial": 1723566, "releases": { "0.4.0": [ { "comment_text": "built for Linux-3.2.0-37-generic-x86_64-with-glibc2.7", "digests": { "md5": "9cd87a0d90e776e2e304149fad361622", "sha256": "69764e828f0638d5e5482bdfa3089f1406b16ec01dd3add797083e8e703c7d84" }, "downloads": -1, "filename": "django-model-versions-0.4.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "9cd87a0d90e776e2e304149fad361622", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 5611, "upload_time": "2015-09-15T13:40:12", "url": "https://files.pythonhosted.org/packages/e5/e3/2a1c328ee16dbf5c15573f37a8378959e7fa8b88b0c3ae1505b0cf85dbbc/django-model-versions-0.4.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "b7aac0ae34ec4089c4fc2c84cb24e6e7", "sha256": "cd95c438e4e8f832fcab40f4a01496adf0659b51cd15c80fe47975ec94f05902" }, "downloads": -1, "filename": "django-model-versions-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b7aac0ae34ec4089c4fc2c84cb24e6e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3364, "upload_time": "2015-09-15T13:40:05", "url": "https://files.pythonhosted.org/packages/36/f6/18fec9b1511a0e8ff7bc685e6dfed3abacaff7f29364a2583a1ba33b22fb/django-model-versions-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "built for Linux-3.2.0-37-generic-x86_64-with-glibc2.7", "digests": { "md5": "9cd87a0d90e776e2e304149fad361622", "sha256": "69764e828f0638d5e5482bdfa3089f1406b16ec01dd3add797083e8e703c7d84" }, "downloads": -1, "filename": "django-model-versions-0.4.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "9cd87a0d90e776e2e304149fad361622", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 5611, "upload_time": "2015-09-15T13:40:12", "url": "https://files.pythonhosted.org/packages/e5/e3/2a1c328ee16dbf5c15573f37a8378959e7fa8b88b0c3ae1505b0cf85dbbc/django-model-versions-0.4.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "b7aac0ae34ec4089c4fc2c84cb24e6e7", "sha256": "cd95c438e4e8f832fcab40f4a01496adf0659b51cd15c80fe47975ec94f05902" }, "downloads": -1, "filename": "django-model-versions-0.4.0.tar.gz", "has_sig": false, "md5_digest": "b7aac0ae34ec4089c4fc2c84cb24e6e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3364, "upload_time": "2015-09-15T13:40:05", "url": "https://files.pythonhosted.org/packages/36/f6/18fec9b1511a0e8ff7bc685e6dfed3abacaff7f29364a2583a1ba33b22fb/django-model-versions-0.4.0.tar.gz" } ] }