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.0.tar.gz (74.3 kB view details)

Uploaded Source

Built Distribution

django_relatives-1.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-relatives-1.0.0.tar.gz
  • Upload date:
  • Size: 74.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.1.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12

File hashes

Hashes for django-relatives-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2c238615b4896aee6238af77bcb770420879c050f163c515c9809800bfae0fca
MD5 be301f9b2c83a852d3ae589fed7ce646
BLAKE2b-256 4cdc0a6714a8e0e0acb8fca5e10b64ba554db2a4fc85b72331eb048c70558fc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_relatives-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.1.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12

File hashes

Hashes for django_relatives-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7fa2a29f1ab898431971cbe86d6e18faf016bbc162a9073ff0b066dc97b01aa
MD5 30f0f6d65736f50241598461eaaec477
BLAKE2b-256 b2be934b46320db27740d2c4c72bcbb31fc7ab8626d2bc035ed6bb8bfc8fdbda

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