{ "info": { "author": "Riccardo Magliocchetti", "author_email": "riccardo.magliocchetti@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-denis\n==============\n\n.. image:: https://travis-ci.org/xrmx/django-denis.svg\n :target: https://travis-ci.org/xrmx/django-denis\n\nDenis helps you recovering accidentally deleted data from a django project.\n\nRationale\n---------\n\nHumans make mistakes, sometimes they delete data accidentally from the ``django admin``\nand you have to spend your afternoon recovering data from a db dump. Sometimes the human\nis called Denis.\n\nRequirements\n------------\n\n- Django >= ``1.6``\n\nInstallation\n------------\n\n- ``pip install django-denis``\n\nUsage\n-----\n\nGiven a queryset ``django-denis`` finds what the django admin would delete and recover\nthem from a backup database.\n\nHere's an example session:\n\n::\n\n $ python manage.py shell\n >>> from denis import Denis\n >>> from django.contrib.auth.models import User\n >>> User.objects.filter(pk=40182)\n []\n >>> qs = User.objects.using('backup').filter(pk=40182)\n >>> denis = Denis(qs, using='backup')\n >>> denis.recover(using='default')\n >>> User.objects.using('default').filter(pk=40182)\n \n\nThe code above assumes a configuration entry called ``backup`` for ``DATABASES`` in ``settings.py``\nthat should point to a database containing the data you want to recover.\n\nBe cautious\n-----------\n\nPlease always test (and test again) recovery on a copy of your database so you can double check\nthat everything works fine before doing it on your production db.\n\nOf course we don't take any responsibility with this code. Use at your own risk!\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xrmx/django-denis", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-denis", "package_url": "https://pypi.org/project/django-denis/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-denis/", "project_urls": { "Homepage": "https://github.com/xrmx/django-denis" }, "release_url": "https://pypi.org/project/django-denis/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Denis helps you recovering accidentally deleted data from a django project", "version": "0.3.0" }, "last_serial": 5322799, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fbd08b87a20e750c827c6c7b5055ee82", "sha256": "da5b522c9bd10073af1d391a525ad8ecb75671a94588e52d96826909166cdcd1" }, "downloads": -1, "filename": "django-denis-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fbd08b87a20e750c827c6c7b5055ee82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2717, "upload_time": "2015-10-19T14:37:16", "url": "https://files.pythonhosted.org/packages/bc/e7/894d4b17345fe73cb6b9e07a60c0a9e2b73f63607ba3ff8ed1e9d1966382/django-denis-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "91fc6a1be832e2ee6c90c87f8ade09e8", "sha256": "75e79c5d54a4c5a74f36a17590e5b8b8d265a6552cc65b907b72dc6fae55772b" }, "downloads": -1, "filename": "django-denis-0.2.0.tar.gz", "has_sig": false, "md5_digest": "91fc6a1be832e2ee6c90c87f8ade09e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2802, "upload_time": "2015-11-23T16:51:18", "url": "https://files.pythonhosted.org/packages/94/05/e182c4084223dafb94a135db5224086ee9267d91b921f9c4400e429eb4a3/django-denis-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "03168019b6a708cd1b5973e990c49f73", "sha256": "8a8e1212782ce8f21edc06972c09289f4863ecb2d3e34e3377d2d7eaac9cd762" }, "downloads": -1, "filename": "django-denis-0.3.0.tar.gz", "has_sig": false, "md5_digest": "03168019b6a708cd1b5973e990c49f73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2019-05-27T15:20:35", "url": "https://files.pythonhosted.org/packages/bd/f0/c4d0a1c3e9267424fec220a41607f43352e0fc221ea070719dd3e379f2b7/django-denis-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "03168019b6a708cd1b5973e990c49f73", "sha256": "8a8e1212782ce8f21edc06972c09289f4863ecb2d3e34e3377d2d7eaac9cd762" }, "downloads": -1, "filename": "django-denis-0.3.0.tar.gz", "has_sig": false, "md5_digest": "03168019b6a708cd1b5973e990c49f73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2996, "upload_time": "2019-05-27T15:20:35", "url": "https://files.pythonhosted.org/packages/bd/f0/c4d0a1c3e9267424fec220a41607f43352e0fc221ea070719dd3e379f2b7/django-denis-0.3.0.tar.gz" } ] }