{ "info": { "author": "Forest Gregg", "author_email": "fgregg@datamade.us", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Allow overriding foreign key fields on Proxy models.\n\nMostly, you won't want to do this. However, I did have a situation where it would\nbe useful, mainly for reducing the numbers of queries I was having to run.\n\nYou can read about it at: http://schinckel.net/2015/05/13/django-proxy-model-relations/\n\n\nUsage is pretty simple:\n\n.. code-block :: python\n\n from proxy_overrides.related import ProxyForeignKey\n\n class ProxyModel(ParentModel):\n related = ProxyForeignKey(OtherProxyModel)\n\nYou may only override fields that exist, although in the future, it may be possible to create a relation with a different name (enabling you to keep the standard relation to the non-proxy model).\n\nYou may also only override with a compatible field (and only one proxy model may point to any other given proxy model).\n\n\nIt is also possible to override non-related models, but I'm not that interested in that use case at the moment.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/datamade/django-proxy-overrides", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-proxy-overrides", "package_url": "https://pypi.org/project/django-proxy-overrides/", "platform": "", "project_url": "https://pypi.org/project/django-proxy-overrides/", "project_urls": { "Homepage": "https://github.com/datamade/django-proxy-overrides" }, "release_url": "https://pypi.org/project/django-proxy-overrides/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Overridable foreign key fields for Proxy models", "version": "0.2.1" }, "last_serial": 5387189, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2dafdf3896b97678a4df2c25d46fb046", "sha256": "85708d7ff47392b0a7337942a22b9dbb4ff40118b95426dd44bb83b87975339d" }, "downloads": -1, "filename": "django-proxy-overrides-0.1.0.tar.gz", "has_sig": true, "md5_digest": "2dafdf3896b97678a4df2c25d46fb046", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2104, "upload_time": "2016-07-08T08:15:52", "url": "https://files.pythonhosted.org/packages/e1/54/0e9586f26bbb6788d23849dbe32501a1f56b50bce74f733545d5053e627a/django-proxy-overrides-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d2d44597c61c86423726633dcb81e655", "sha256": "9a1024c6793731f690ded18f2ebaf56d5a491727db0f2c58eaf457730d9fa04a" }, "downloads": -1, "filename": "django_proxy_overrides-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d2d44597c61c86423726633dcb81e655", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 4118, "upload_time": "2018-11-30T17:14:11", "url": "https://files.pythonhosted.org/packages/5f/9c/310e2d9255bae3b6e582a1f31ff53f22116baf4956d3bc969328c4dd515f/django_proxy_overrides-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "55ab3cdc6d5f639fb35b2b164f23ec36", "sha256": "64388dbe8aac95b4b04fd01ae0f5ef3d8e49a55467d6428b071347fddc92ca72" }, "downloads": -1, "filename": "django-proxy-overrides-0.2.0.tar.gz", "has_sig": false, "md5_digest": "55ab3cdc6d5f639fb35b2b164f23ec36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2401, "upload_time": "2018-11-30T17:14:10", "url": "https://files.pythonhosted.org/packages/28/35/a0939a508b83c62941ae65f52d0701af7bec11d38de94451cb0fd1339447/django-proxy-overrides-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5fdec85cfb9da9bf216566dd2c4104c9", "sha256": "b77ddf52884d3ef333f811b64af50a0eeb43892e56b95b4ca7a04794c24fd60f" }, "downloads": -1, "filename": "django_proxy_overrides-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5fdec85cfb9da9bf216566dd2c4104c9", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 4039, "upload_time": "2019-06-11T15:50:49", "url": "https://files.pythonhosted.org/packages/6e/10/6a07a390808589b7a767d4abb09e22d24e3bda70a419909c85e634d56959/django_proxy_overrides-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f25adbf68604bb627c64dd5e155a8220", "sha256": "58a1c686f50e91cbb9d2898bc3e2cb2bc5b57af0012a2bff9dad929d4f97626e" }, "downloads": -1, "filename": "django-proxy-overrides-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f25adbf68604bb627c64dd5e155a8220", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2321, "upload_time": "2019-06-11T15:50:48", "url": "https://files.pythonhosted.org/packages/c4/b0/9298275c6e507f6eb0dfb75df3a5fd53bea2983e1af3ad21c2d50b476780/django-proxy-overrides-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5fdec85cfb9da9bf216566dd2c4104c9", "sha256": "b77ddf52884d3ef333f811b64af50a0eeb43892e56b95b4ca7a04794c24fd60f" }, "downloads": -1, "filename": "django_proxy_overrides-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5fdec85cfb9da9bf216566dd2c4104c9", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 4039, "upload_time": "2019-06-11T15:50:49", "url": "https://files.pythonhosted.org/packages/6e/10/6a07a390808589b7a767d4abb09e22d24e3bda70a419909c85e634d56959/django_proxy_overrides-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f25adbf68604bb627c64dd5e155a8220", "sha256": "58a1c686f50e91cbb9d2898bc3e2cb2bc5b57af0012a2bff9dad929d4f97626e" }, "downloads": -1, "filename": "django-proxy-overrides-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f25adbf68604bb627c64dd5e155a8220", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2321, "upload_time": "2019-06-11T15:50:48", "url": "https://files.pythonhosted.org/packages/c4/b0/9298275c6e507f6eb0dfb75df3a5fd53bea2983e1af3ad21c2d50b476780/django-proxy-overrides-0.2.1.tar.gz" } ] }