{ "info": { "author": "Karan Lyons", "author_email": "karan@karanlyons.com", "bugtrack_url": null, "classifiers": [], "description": "###############\nSave The Change\n###############\n\n.. image:: https://badge.fury.io/py/django-save-the-change.png\n\t:target: http://badge.fury.io/py/django-save-the-change\n.. image:: https://travis-ci.org/karanlyons/django-save-the-change.png?branch=master\n\t:target: https://travis-ci.org/karanlyons/django-save-the-change/\n.. image:: https://coveralls.io/repos/karanlyons/django-save-the-change/badge.png?branch=master\n\t:target: https://coveralls.io/r/karanlyons/django-save-the-change\n\nSave The Change takes this:\n\n.. code-block:: pycon\n\n\t>>> lancelot = Knight.objects.get(name=\"Sir Lancelot\")\n\t>>> lancelot.favorite_color = \"Blue\"\n\t>>> lancelot.save()\n\n\nAnd does this:\n\n.. code-block:: sql\n\n\tUPDATE \"roundtable_knight\"\n\tSET \"favorite_color\" = 'Blue'\n\n\nInstead of this:\n\n.. code-block:: sql\n\n\tUPDATE \"roundtable_knight\"\n\tSET \"name\" = 'Sir Lancelot',\n\t \"from\" = 'Camelot',\n\t \"quest\" = 'To seek the Holy Grail.',\n\t \"favorite_color\" = 'Blue',\n\t \"epithet\" = 'The brave',\n\t \"actor\" = 'John Cleese',\n\t \"full_name\" = 'John Marwood Cleese',\n\t \"height\" = '6''11\"',\n\t \"birth_date\" = '1939-10-27',\n\t \"birth_union\" = 'UK',\n\t \"birth_country\" = 'England',\n\t \"birth_county\" = 'Somerset',\n\t \"birth_town\" = 'Weston-Super-Mare',\n\t \"facial_hair\" = 'mustache',\n\t \"graduated\" = true,\n\t \"university\" = 'Cambridge University',\n\t \"degree\" = 'LL.B.',\n\n\nInstallation\n============\n\nInstall Save The Change just like everything else:\n\n.. code-block:: bash\n\n\t$ pip install django-save-the-change\n\n\nDocumentation\n=============\n\nFull documentation is available at\n`ReadTheDocs `_.\n\n\nHistory\n=======\n\n1.1.0 (05/16/2014)\n------------------\n\n - Add proper support for ForeignKeys (thanks to Brandon Konkle and\n Brian Wilson).\n\n - Add update_together field to model Meta, via UpdateTogetherModel.\n\n\n1.0.0 (09/08/2013)\n------------------\n\n - Initial release.", "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/karanlyons/django-save-the-change", "keywords": null, "license": "Copyright 2013 Karan Lyons\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "maintainer": null, "maintainer_email": null, "name": "django-save-the-change", "package_url": "https://pypi.org/project/django-save-the-change/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-save-the-change/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/karanlyons/django-save-the-change" }, "release_url": "https://pypi.org/project/django-save-the-change/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Automatically save only changed model data.", "version": "1.1.0" }, "last_serial": 1141063, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "cb500d0cb5c1650a513d7226e007cae2", "sha256": "9245e161d5cad5b84ae9f9d200bf456380cc62e4bbe8acee6b1d6b8d6b7831cf" }, "downloads": -1, "filename": "django-save-the-change-1.0.0.tar.gz", "has_sig": false, "md5_digest": "cb500d0cb5c1650a513d7226e007cae2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4619, "upload_time": "2013-09-08T20:26:11", "url": "https://files.pythonhosted.org/packages/ac/35/fcb3dc4aebe535bdcc4cb1c474e4db7c9025893107ad701665d83d41c7ce/django-save-the-change-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "0a83e80c4bec178bd3c74424aff785d7", "sha256": "7fd5332fa121a73b256909d32d4bc1848dc1349877388f818b6a18e5fd924ad7" }, "downloads": -1, "filename": "django-save-the-change-1.1.0.tar.gz", "has_sig": false, "md5_digest": "0a83e80c4bec178bd3c74424aff785d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5592, "upload_time": "2014-06-29T01:05:33", "url": "https://files.pythonhosted.org/packages/ee/4c/10a34da09eba0f29a675af4ea8be87bfacac717b3f725349ed5af05fd4cf/django-save-the-change-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a83e80c4bec178bd3c74424aff785d7", "sha256": "7fd5332fa121a73b256909d32d4bc1848dc1349877388f818b6a18e5fd924ad7" }, "downloads": -1, "filename": "django-save-the-change-1.1.0.tar.gz", "has_sig": false, "md5_digest": "0a83e80c4bec178bd3c74424aff785d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5592, "upload_time": "2014-06-29T01:05:33", "url": "https://files.pythonhosted.org/packages/ee/4c/10a34da09eba0f29a675af4ea8be87bfacac717b3f725349ed5af05fd4cf/django-save-the-change-1.1.0.tar.gz" } ] }