sehmaschine/django-grappelli — pull request #551 by deschler (2014-12-08 10:03:49+00:00)
Title: Handled LookupError in RelatedLookup view

Calling the `RelatedLookup` with wrong `app_label` and `model_name` parameters curently raises a 500.
Example: `/grappelli/lookup/related/?object_id=&app_label=false&model_name=false`

The pull request handles the error so that the view returns `[{"value": null, "label": ""}]` in this case.