Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

ModelAdmin mixin that adds edit links to Django Grappelli autocomplete lookups.

Project Description

# Django Grappelli Autocomplete Foreign Key Edit Link

django-grappelli-autocomplete-fk-edit-link provides a `ModelAdmin` mixin that adds edit links to autocomplete lookups.

Install using pip :

sudo pip install git+

Add `grappelli_autocomplete_fk_edit_link` to your `INSTALLED_APPS`:


Add the mixin to any `ModelAdmin` with one or more autocomplete foreign key lookup fields:

from grappelli_autocomplete_fk_edit_link import AutocompleteEditLinkAdminMixin

class MyAdmin(AutocompleteEditLinkAdminMixin, admin.ModelAdmin):
raw_id_fields = ['related_object']
autocomplete_lookup_fields = {
'fk': ['related_object'],

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.8 kB) Copy SHA256 Hash SHA256
Source None Nov 23, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers