{"id":17053348,"url":"https://github.com/pdrum/django_admin_links","last_synced_at":"2025-03-23T05:24:08.593Z","repository":{"id":57418811,"uuid":"109402333","full_name":"pdrum/django_admin_links","owner":"pdrum","description":"A small tool for displaying foreign keys as read-only links in django admin","archived":false,"fork":false,"pushed_at":"2017-11-03T14:50:37.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-14T15:12:29.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pdrum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-03T14:02:57.000Z","updated_at":"2020-01-28T18:33:40.000Z","dependencies_parsed_at":"2022-09-13T14:01:04.135Z","dependency_job_id":null,"html_url":"https://github.com/pdrum/django_admin_links","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrum%2Fdjango_admin_links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrum%2Fdjango_admin_links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrum%2Fdjango_admin_links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdrum%2Fdjango_admin_links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdrum","download_url":"https://codeload.github.com/pdrum/django_admin_links/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245059470,"owners_count":20554299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T10:12:00.536Z","updated_at":"2025-03-23T05:24:08.569Z","avatar_url":"https://github.com/pdrum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django admin links\n-------------------\n\n### Installation\nThis package can be installed via pip using `pip install django_admin_links`\n\n### Use\nDjango admin links is a tools using which you can \nrepresent foreign keys as read-only links in django\nadmin in order to facilitate navigability.\n\nIn order to use this tool, you should let your django \nadmin classes inherit from `ModelAdminWithLinks` instead\nof inheriting directly from `admin.ModelAdmin`. Similar\napproach can be taken for `TabularInlineWithLinks` and\n`StackedInlineWithLinks`. After doing that, you can define\na field on your admin class called `link_fields` and specify\nnames of the fields, you want to be represented as links in there.\nIt should be some iterable like a list or a tuple.\nIt is worth noting that fields included in `link_fields` should \nalso be included in `fields`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrum%2Fdjango_admin_links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdrum%2Fdjango_admin_links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdrum%2Fdjango_admin_links/lists"}