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

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.

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

Uploaded Source

Built Distribution

django_relatives-1.2.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-relatives-1.2.0.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for django-relatives-1.2.0.tar.gz
Algorithm Hash digest
SHA256 19887cc0c1dadde87354952e23ca03cfc72e53fab9cee7edf84283d2f7379b48
MD5 1c959ceff1582f671cdc00813e0fafed
BLAKE2b-256 cd37c152c1c3c48fc2835d37856554d1c6bc326195caff2c5c753c6b306eac83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_relatives-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for django_relatives-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 257cf4ec3f3b5c22b9ff2596d3acd948a6fa4455c2ba0dd940e12ae46976db26
MD5 e82b138616c64dae1bf0f75a90ea1933
BLAKE2b-256 2cb44bfdfd9dbff70b8fe90fea931e8dde867ba64a1e29fc3850809108b5b275

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