django-relatives


Namedjango-relatives JSON
Version 1.2.2 PyPI version JSON
download
home_pagehttps://github.com/treyhunner/django-relatives
SummaryUtilities for linking to related objects in Django admin
upload_time2021-09-15 22:58:34
maintainer
docs_urlNone
authorTrey Hunner
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            ================
django-relatives
================

.. image:: https://travis-ci.org/treyhunner/django-relatives.png?branch=master
   :target: https://travis-ci.org/treyhunner/django-relatives
   :alt: Test Status

.. image:: https://coveralls.io/repos/treyhunner/django-relatives/badge.png?branch=master
   :target: https://coveralls.io/r/treyhunner/django-relatives
   :alt: Coverage Status

.. image:: https://pypip.in/v/django-relatives/badge.png
   :target: https://crate.io/packages/django-relatives
   :alt: Latest Version

.. image:: https://pypip.in/d/django-relatives/badge.png
   :target: https://crate.io/packages/django-relatives
   :alt: Download Count

Utilities for linking to related objects in Django admin

This app requires Django 2.2 or greater and Python 3.6 or greater.


Getting Help
------------

Documentation for django-relatives is available at
https://django-relatives.readthedocs.org/

This app is available on `PyPI`_.

Submit issues on Github: https://github.com/treyhunner/django-relatives/issues

Pull requests are welcome.  Read the CONTRIBUTING file for tips on submitting
a pull request.

.. _PyPI: https://pypi.python.org/pypi/django-relatives/


Screenshots
-----------

.. image:: https://raw.github.com/treyhunner/django-relatives/master/docs/images/contents_or_fk_link_example.png
   :alt: Use hyperlinks for read-only foreign keys on change forms
   :target: https://django-relatives.readthedocs.org/en/latest/usage.html#linking-to-foreign-keys

.. image:: https://raw.github.com/treyhunner/django-relatives/master/docs/images/object_edit_link_example.png
   :alt: Add edit links to admin inlines
   :target: https://django-relatives.readthedocs.org/en/latest/usage.html#customizing-inline-edit-links

.. image:: https://raw.github.com/treyhunner/django-relatives/master/docs/images/related_objects_example.png
   :alt: Link to reverse relations from from change forms
   :target: https://django-relatives.readthedocs.org/en/latest/usage.html#linking-to-reverse-relations

Related Projects
----------------

Thanks to the community for inspiration:

- `linked readonly foreign key code snippet`_
- `django-inlaws`_
- various `StackOverflow answers`_ about related object links in admin

.. _django-inlaws: https://github.com/callowayproject/django-inlaws
.. _stackoverflow answers: http://stackoverflow.com/a/5331032/98187
.. _linked readonly foreign key code snippet: http://djangosnippets.org/snippets/2657/


Changes
=======

1.2.0 (2020-12-15)
------------------

- Fix ModelAdmin methods used in read-only fields

1.1.0 (2020-01-28)
------------------

- Fix generic foreign key links on change forms
- Add support for Django 2.2 and Django 3.0
- Drop support for Python 2

1.0.0 (2018-08-07)
------------------

- Generic relations templatetag support implemented
- Add support for Django 1.11 through 2.1


0.3.1 (2013-07-27)
------------------

- Reintroduce Django 1.4 support


0.3.0 (2013-07-16)
------------------

- Fix XSS vulnerability
- Allow relatives/includes/fieldset.html template to be extended further
- Improve documentation


0.2.0 (2013-06-26)
------------------

- Add related_objects template tag
- Fix contents_or_fk_link filter on add form for non-nullable foreign keys
- Rename edit_link utility function to object_link
- Add generic object_edit_link utility
- Add generic templates for easy related_objects and contents_or_fk_link use


0.1.0 (2013-05-17)
------------------
Initial release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/treyhunner/django-relatives",
    "name": "django-relatives",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Trey Hunner",
    "author_email": "trey@treyhunner.com",
    "download_url": "https://files.pythonhosted.org/packages/89/97/b4ee6bbdb0a63e77587a9ff3909de7f6e2a5c70223388cd3d89e9cd09284/django-relatives-1.2.2.tar.gz",
    "platform": "",
    "description": "================\ndjango-relatives\n================\n\n.. image:: https://travis-ci.org/treyhunner/django-relatives.png?branch=master\n   :target: https://travis-ci.org/treyhunner/django-relatives\n   :alt: Test Status\n\n.. image:: https://coveralls.io/repos/treyhunner/django-relatives/badge.png?branch=master\n   :target: https://coveralls.io/r/treyhunner/django-relatives\n   :alt: Coverage Status\n\n.. image:: https://pypip.in/v/django-relatives/badge.png\n   :target: https://crate.io/packages/django-relatives\n   :alt: Latest Version\n\n.. image:: https://pypip.in/d/django-relatives/badge.png\n   :target: https://crate.io/packages/django-relatives\n   :alt: Download Count\n\nUtilities for linking to related objects in Django admin\n\nThis app requires Django 2.2 or greater and Python 3.6 or greater.\n\n\nGetting Help\n------------\n\nDocumentation for django-relatives is available at\nhttps://django-relatives.readthedocs.org/\n\nThis app is available on `PyPI`_.\n\nSubmit issues on Github: https://github.com/treyhunner/django-relatives/issues\n\nPull requests are welcome.  Read the CONTRIBUTING file for tips on submitting\na pull request.\n\n.. _PyPI: https://pypi.python.org/pypi/django-relatives/\n\n\nScreenshots\n-----------\n\n.. image:: https://raw.github.com/treyhunner/django-relatives/master/docs/images/contents_or_fk_link_example.png\n   :alt: Use hyperlinks for read-only foreign keys on change forms\n   :target: https://django-relatives.readthedocs.org/en/latest/usage.html#linking-to-foreign-keys\n\n.. image:: https://raw.github.com/treyhunner/django-relatives/master/docs/images/object_edit_link_example.png\n   :alt: Add edit links to admin inlines\n   :target: https://django-relatives.readthedocs.org/en/latest/usage.html#customizing-inline-edit-links\n\n.. image:: https://raw.github.com/treyhunner/django-relatives/master/docs/images/related_objects_example.png\n   :alt: Link to reverse relations from from change forms\n   :target: https://django-relatives.readthedocs.org/en/latest/usage.html#linking-to-reverse-relations\n\nRelated Projects\n----------------\n\nThanks to the community for inspiration:\n\n- `linked readonly foreign key code snippet`_\n- `django-inlaws`_\n- various `StackOverflow answers`_ about related object links in admin\n\n.. _django-inlaws: https://github.com/callowayproject/django-inlaws\n.. _stackoverflow answers: http://stackoverflow.com/a/5331032/98187\n.. _linked readonly foreign key code snippet: http://djangosnippets.org/snippets/2657/\n\n\nChanges\n=======\n\n1.2.0 (2020-12-15)\n------------------\n\n- Fix ModelAdmin methods used in read-only fields\n\n1.1.0 (2020-01-28)\n------------------\n\n- Fix generic foreign key links on change forms\n- Add support for Django 2.2 and Django 3.0\n- Drop support for Python 2\n\n1.0.0 (2018-08-07)\n------------------\n\n- Generic relations templatetag support implemented\n- Add support for Django 1.11 through 2.1\n\n\n0.3.1 (2013-07-27)\n------------------\n\n- Reintroduce Django 1.4 support\n\n\n0.3.0 (2013-07-16)\n------------------\n\n- Fix XSS vulnerability\n- Allow relatives/includes/fieldset.html template to be extended further\n- Improve documentation\n\n\n0.2.0 (2013-06-26)\n------------------\n\n- Add related_objects template tag\n- Fix contents_or_fk_link filter on add form for non-nullable foreign keys\n- Rename edit_link utility function to object_link\n- Add generic object_edit_link utility\n- Add generic templates for easy related_objects and contents_or_fk_link use\n\n\n0.1.0 (2013-05-17)\n------------------\nInitial release.\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Utilities for linking to related objects in Django admin",
    "version": "1.2.2",
    "project_urls": {
        "Homepage": "https://github.com/treyhunner/django-relatives"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67985ccc1bc0d1076319dc854462c3105210115396f1259f85a7b31518763f1a",
                "md5": "383061e3599b88e1fbd977259645120e",
                "sha256": "c525377fbf51b04f941644cc9d98c4156ebb8368f10a9b26ce57b13fe806cef3"
            },
            "downloads": -1,
            "filename": "django_relatives-1.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "383061e3599b88e1fbd977259645120e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14894,
            "upload_time": "2021-09-15T22:58:32",
            "upload_time_iso_8601": "2021-09-15T22:58:32.576061Z",
            "url": "https://files.pythonhosted.org/packages/67/98/5ccc1bc0d1076319dc854462c3105210115396f1259f85a7b31518763f1a/django_relatives-1.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8997b4ee6bbdb0a63e77587a9ff3909de7f6e2a5c70223388cd3d89e9cd09284",
                "md5": "2b8142d72bf3af380581a2d11c7a3bd6",
                "sha256": "215fb30c638f97bb389e78e43195237e21c30c006fc8bb337570c8dcdba34a52"
            },
            "downloads": -1,
            "filename": "django-relatives-1.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2b8142d72bf3af380581a2d11c7a3bd6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 76357,
            "upload_time": "2021-09-15T22:58:34",
            "upload_time_iso_8601": "2021-09-15T22:58:34.655078Z",
            "url": "https://files.pythonhosted.org/packages/89/97/b4ee6bbdb0a63e77587a9ff3909de7f6e2a5c70223388cd3d89e9cd09284/django-relatives-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-09-15 22:58:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "treyhunner",
    "github_project": "django-relatives",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "django-relatives"
}
        
Elapsed time: 0.15872s