django-suit
django-suit copied to clipboard
Filter field_contents_foreign_linked error when value is None
When field_contents_foreign_linked value is None admin_url() triggers an error.
Simple fix it on https://github.com/darklow/django-suit/blob/d9a7d7693711893986d24c49983afe8dde64d524/suit/templatetags/suit_tags.py#L63 with:
if value is not None and isinstance(fieldtype, ForeignKey):
We're seeing the same problem. Is there a chance for an upstream fix instead of us having to monkeypatch?