{ "info": { "author": "Piotr Roszatycki", "author_email": "piotr.roszatycki@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. image:: https://img.shields.io/pypi/v/django-migrations-ignore-attrs.svg\n :target: https://pypi.python.org/pypi/django-migrations-ignore-attrs\n.. image:: https://travis-ci.org/dex4er/django-migrations-ignore-attrs.svg?branch=master\n :target: https://travis-ci.org/dex4er/django-migrations-ignore-attrs\n.. image:: https://readthedocs.org/projects/django-migrations-ignore-attrs/badge/?version=latest\n :target: http://django-migrations-ignore-attrs.readthedocs.org/en/latest/\n.. image:: https://img.shields.io/pypi/pyversions/django-migrations-ignore-attrs.svg\n :target: https://www.python.org/\n.. image:: https://img.shields.io/pypi/djversions/django-migrations-ignore-attrs.svg\n :target: https://www.djangoproject.com/\n\ndjango-migrations-ignore-attrs\n==============================\n\ndjango-migrations-ignore-attrs is a package that overrides ``makemigration``\nand ``migrate`` commands for Django's ``manage.py`` command.\n\ndjango-migrations-ignore-attrs allows to avoid making of unnecessary migrations\nfor attributes that do not have any representation in database schema.\n\nFollowing attributes of model are ignored:\n\n* verbose_name\n* verbose_name_plural\n\nFollowing attributes of standard fields are ignored:\n\n* choices\n* help_text\n* verbose_name\n\nFollowing attributes of ``ForeignKey`` are ignored:\n\n* related_name\n* related_query_name\n\n\nInstallation\n------------\n\nInstall with ``pip`` or ``pipenv``:\n\n.. code:: python\n\n pip install django-migrations-ignore-attrs\n\nAdd ``django_migrations_ignore_attrs`` to your installed apps in your\nsettings.py file:\n\n.. code:: python\n\n INSTALLED_APPS = [\n 'django_migrations_ignore_attrs',\n ...\n ]\n\nOptional configuration:\n\n.. code:: python\n\n # ignored attributes of model\n MIGRATION_IGNORE_MODEL_ATTRS = ['verbose_name', 'verbose_name_plural']\n\n # ignored attributes of standard fields\n MIGRATION_IGNORE_FIELD_ATTRS = ['choices', 'help_text', 'verbose_name']\n\n # ignored attributes of ForeignKey\n MIGRATION_IGNORE_RELATED_FIELD_ATTRS = ['related_name', 'related_query_name']\n\n\nCommands\n--------\n\nmakemigrations\n^^^^^^^^^^^^^^\n\nCreates new migration(s) for apps.\n\nAll options are the same as for original ``makemigrations`` command from\n``django`` app.\n\nmigrate\n^^^^^^^\n\nUpdates database schema. Manages both apps with migrations and those without.\n\nAll options are the same as for original ``migrate`` command from ``django``\napp.\n\n\nDocumentation\n-------------\n\nSee http://django-migrations-ignore-attrs.readthedocs.org/\n\n\nLicense\n-------\n\nCopyright \u00a9 2019, Piotr Roszatycki\n\nThis software is distributed under the GNU Lesser General Public License (LGPL\n3 or greater).\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dex4er/django-migrations-ignore-attrs", "keywords": "django migration migrate model", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "django-migrations-ignore-attrs", "package_url": "https://pypi.org/project/django-migrations-ignore-attrs/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-migrations-ignore-attrs/", "project_urls": { "Homepage": "https://github.com/dex4er/django-migrations-ignore-attrs" }, "release_url": "https://pypi.org/project/django-migrations-ignore-attrs/0.1.0/", "requires_dist": [ "django (>=2)", "docutils ; extra == 'dev'", "Pygments ; extra == 'dev'" ], "requires_python": "", "summary": "Do not generate unnecessary migrations", "version": "0.1.0" }, "last_serial": 5135791, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d2547fdf88c4a61dbfb8eb56931b25d0", "sha256": "1410276711dd17797889d06dd7a271ddb941af3439e2693cee44009c7ad174a8" }, "downloads": -1, "filename": "django_migrations_ignore_attrs-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d2547fdf88c4a61dbfb8eb56931b25d0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7136, "upload_time": "2019-04-12T21:40:19", "url": "https://files.pythonhosted.org/packages/f7/f2/bf0a4fe4f67584630ceeba6fc4db8865ce32c1d7fc8914aa6ffb03a3b4cf/django_migrations_ignore_attrs-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a5d643e0b1913d593264b13c6f94997", "sha256": "e3cf0a54d51fae7564e792f27f41173e6474e18be1628270fa0b6ba43ed5acaf" }, "downloads": -1, "filename": "django-migrations-ignore-attrs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6a5d643e0b1913d593264b13c6f94997", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16520, "upload_time": "2019-04-12T21:40:21", "url": "https://files.pythonhosted.org/packages/34/da/fb733d6d021e44822339acb076d4ddce1503180a926d26009f1c61c26967/django-migrations-ignore-attrs-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2547fdf88c4a61dbfb8eb56931b25d0", "sha256": "1410276711dd17797889d06dd7a271ddb941af3439e2693cee44009c7ad174a8" }, "downloads": -1, "filename": "django_migrations_ignore_attrs-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d2547fdf88c4a61dbfb8eb56931b25d0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7136, "upload_time": "2019-04-12T21:40:19", "url": "https://files.pythonhosted.org/packages/f7/f2/bf0a4fe4f67584630ceeba6fc4db8865ce32c1d7fc8914aa6ffb03a3b4cf/django_migrations_ignore_attrs-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a5d643e0b1913d593264b13c6f94997", "sha256": "e3cf0a54d51fae7564e792f27f41173e6474e18be1628270fa0b6ba43ed5acaf" }, "downloads": -1, "filename": "django-migrations-ignore-attrs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6a5d643e0b1913d593264b13c6f94997", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16520, "upload_time": "2019-04-12T21:40:21", "url": "https://files.pythonhosted.org/packages/34/da/fb733d6d021e44822339acb076d4ddce1503180a926d26009f1c61c26967/django-migrations-ignore-attrs-0.1.0.tar.gz" } ] }