Skip to main content

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'],

Project details

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
django-grappelli-autocomplete-fk-edit-link-0.1.1.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page