django-natural-keys
django-natural-keys copied to clipboard
Feature request: Model __repr__
I often user natural key in my models' repr, so adding this here would be nice, something like:
'<%s: %s>' % (self._meta.model.__name__, ', '.join(self.natural_key()))