Skip to main content

Utilities for linking to related objects in Django admin

Project description

Test Status Coverage Status Latest Version Download Count

Utilities for linking to related objects in Django admin

This app requires Django 1.11 or greater and Python 2.7/3.5 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.

Screenshots

Use hyperlinks for read-only foreign keys on change forms Add edit links to admin inlines Link to reverse relations from from change forms

0.1.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-relatives-1.0.2.tar.gz (74.4 kB view details)

Uploaded Source

Built Distribution

django_relatives-1.0.2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file django-relatives-1.0.2.tar.gz.

File metadata

  • Download URL: django-relatives-1.0.2.tar.gz
  • Upload date:
  • Size: 74.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for django-relatives-1.0.2.tar.gz
Algorithm Hash digest
SHA256 297562099db0ade9f6a03aed92a34f57ef7fe46799215c1c1054d83c80fe6001
MD5 6dbffc1920a29a1e4b4bcac18cb7953a
BLAKE2b-256 58ba06feeb9398abfe330c5a35f572420459129d6794ae164a4cc561fa373523

See more details on using hashes here.

File details

Details for the file django_relatives-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: django_relatives-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for django_relatives-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 55bde8af025d315df9d49278825f34926afffa3b9897ced8bfd980755cc69e44
MD5 61c868cf19bcf2bcb3b8b4851336ad98
BLAKE2b-256 dac25eccfd91cdb5377c6ffc98bd4f8256db715cac803741e3d0882d95124e80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page