{ "info": { "author": "Stefan Berke", "author_email": "s.berke@netzkolchose.de", "bugtrack_url": null, "classifiers": [], "description": "## django-clear-tables v0.1.2\n\nThis is a simple django-app, registering a task called `django_clear_tables`.\n\nIt will delete the contents of django's **Permission** and **ContentTypes** models \nso you can load data from a fixture without problems. Normally, an initial `migrate` will \ncreate permission and content-type data. If you want to clone data from another instance,\nto a fresh database, this data will clash with the `loaddata` command. \n\n**Be careful** because it can also easily mess up your existing database. \n\nInstall it with:\n\n```bash\npip install django-clear-tables\n```\n\nUsage is as follows:\n\nAdd `django_clear_tables` to `INSTALLED_APPS` in your django `settings.py`, then:\n\n```bash\n# initially setup the database\nrm db.sqlite3 # or using mysql, pg, ...\n./manage.py migrate\n# wipe the initially created data\n./manage.py django_clear_tables\n# load a fixture from somewhere else\n./manage.py loaddata dumpdata-from-another-instance.json\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/defgsus/django-clear-tables", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-clear-tables", "package_url": "https://pypi.org/project/django-clear-tables/", "platform": "", "project_url": "https://pypi.org/project/django-clear-tables/", "project_urls": { "Homepage": "https://github.com/defgsus/django-clear-tables" }, "release_url": "https://pypi.org/project/django-clear-tables/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "django manage.py task that clears the content of the django Permission and ContentTypes tables, after an initial migration, to make manage.py loaddata work.", "version": "0.1.2" }, "last_serial": 4199744, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "1c0ff8ec4bc06b1725ed70f288f95f32", "sha256": "47a80bec863038b53fe0429f6b43037b59d3daa3d438b6bc4f09e8aa358b992b" }, "downloads": -1, "filename": "django-clear-tables-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1c0ff8ec4bc06b1725ed70f288f95f32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2023, "upload_time": "2018-07-30T23:42:44", "url": "https://files.pythonhosted.org/packages/a2/f7/b6271217b2d461ecc0987700736e81e4765d617556292b2a1e8344f62292/django-clear-tables-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "681d5904cf298af20db022e318b8c3c6", "sha256": "1fba9238caba4eaed6da24a5675e4cada006340e9e50384f2f85d487e5e0424f" }, "downloads": -1, "filename": "django-clear-tables-0.1.2.tar.gz", "has_sig": false, "md5_digest": "681d5904cf298af20db022e318b8c3c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2220, "upload_time": "2018-08-23T12:21:22", "url": "https://files.pythonhosted.org/packages/b7/fd/317dfd42a1803fbafcf9dea86f2faa028347ed70bac0ea99e8aca3027412/django-clear-tables-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "681d5904cf298af20db022e318b8c3c6", "sha256": "1fba9238caba4eaed6da24a5675e4cada006340e9e50384f2f85d487e5e0424f" }, "downloads": -1, "filename": "django-clear-tables-0.1.2.tar.gz", "has_sig": false, "md5_digest": "681d5904cf298af20db022e318b8c3c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2220, "upload_time": "2018-08-23T12:21:22", "url": "https://files.pythonhosted.org/packages/b7/fd/317dfd42a1803fbafcf9dea86f2faa028347ed70bac0ea99e8aca3027412/django-clear-tables-0.1.2.tar.gz" } ] }