{ "info": { "author": "Chaim Kirby", "author_email": "chaim.kirby@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "==================\ndjango-model-ident\n==================\n\n.. image:: https://badge.fury.io/py/django-model-ident.png\n :target: https://badge.fury.io/py/django-model-ident\n\n.. image:: https://travis-ci.org/ckirby/django-model-ident.png?branch=master\n :target: https://travis-ci.org/ckirby/django-model-ident\n\n.. image:: https://coveralls.io/repos/ckirby/django-model-ident/badge.png?branch=master\n :target: https://coveralls.io/r/ckirby/django-model-ident?branch=master\n\n**django-model-ident** provides a quick lookup for django models by pk only.\nInstead of writing ModelName.objects.get(pk=pk) write ModelName.ident_(pk)\n\nProject\n-------\n\nThe project can be found at https://github.com/ckirby/django-model-ident\n\nRequirements\n------------\n\n* Django 1.11+\n* Python 3.4+\n\nUsage\n-----\n\nAdd 'model-ident' to your INSTALLED_APPS\n\nHow Does It Work\n----------------\n\nON ready() django-model-ident monkey patches all the models found in your INSTALLED_APPS with the method ident_(pk).\nThis calls ._base_manager.get(pk=pk). We use _base_manager so as not to get confused by changes in ModelManagers.\n\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/ckirby/django-model-ident", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-model-ident", "package_url": "https://pypi.org/project/django-model-ident/", "platform": "", "project_url": "https://pypi.org/project/django-model-ident/", "project_urls": { "Homepage": "https://github.com/ckirby/django-model-ident" }, "release_url": "https://pypi.org/project/django-model-ident/0.2/", "requires_dist": null, "requires_python": "", "summary": "Django app to provide classes quick pk only lookups", "version": "0.2" }, "last_serial": 4462942, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "ec57d292231c78a60eb69497c54651c9", "sha256": "a78ebc3d4ac8f3e0dfc03db0513bb75fa3a883d15a2dbf87d47eb2466edd88df" }, "downloads": -1, "filename": "django_model_ident-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ec57d292231c78a60eb69497c54651c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4247, "upload_time": "2018-11-07T20:28:14", "url": "https://files.pythonhosted.org/packages/13/6c/8f1450e23f70bd7bb3ffcad8e2ebc37d3588a30ee0c87b3aeb4111eb4194/django_model_ident-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f3479a848bcff8658168207e174b6fd", "sha256": "8c3e5cc363b471382b28c90fce39db47f4cd9e115ad14c7d00895f8ed1807e6f" }, "downloads": -1, "filename": "django-model-ident-0.2.tar.gz", "has_sig": false, "md5_digest": "1f3479a848bcff8658168207e174b6fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2478, "upload_time": "2018-11-07T20:28:16", "url": "https://files.pythonhosted.org/packages/cc/b7/179585bf8b87e349ffb0fbd8553479953454459124ad02fb359a34f33868/django-model-ident-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec57d292231c78a60eb69497c54651c9", "sha256": "a78ebc3d4ac8f3e0dfc03db0513bb75fa3a883d15a2dbf87d47eb2466edd88df" }, "downloads": -1, "filename": "django_model_ident-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ec57d292231c78a60eb69497c54651c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4247, "upload_time": "2018-11-07T20:28:14", "url": "https://files.pythonhosted.org/packages/13/6c/8f1450e23f70bd7bb3ffcad8e2ebc37d3588a30ee0c87b3aeb4111eb4194/django_model_ident-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f3479a848bcff8658168207e174b6fd", "sha256": "8c3e5cc363b471382b28c90fce39db47f4cd9e115ad14c7d00895f8ed1807e6f" }, "downloads": -1, "filename": "django-model-ident-0.2.tar.gz", "has_sig": false, "md5_digest": "1f3479a848bcff8658168207e174b6fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2478, "upload_time": "2018-11-07T20:28:16", "url": "https://files.pythonhosted.org/packages/cc/b7/179585bf8b87e349ffb0fbd8553479953454459124ad02fb359a34f33868/django-model-ident-0.2.tar.gz" } ] }