Dear all,
I have a model that has a foreign e.g
class Foo(models.Model):
bar = models.ForeignKey(Bar)
class Bar(models.Model):
name = models.CharField(max_length=50)
This is my FooAdmin:
class FooAdmin(admin.ModelAdmin):
list_display = ['bar']
Now in the admin Foo's display list I want to have a link to go to bar display list. What would be the best way to do that in django? I tried to search in the doc but could not find a relevant howto on this issue.
Thanks in advance for the insights.
regards,
--
http://blog.scrum8.comhttp://twitter.com/scrum8