You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Good day, I would like to use the
list_display and search_fields functions in one table on the Django admin page
to display and search for a field in another table. Could I please get any
pointers on how to go about this?
Derek
unread,
Oct 6, 2021, 9:55:04 AM10/6/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Obviously you will be searching in related table.
So if you have models.py like:
class Author(models.Model): first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100)
class Book(models.Model): title = models.CharField(max_length=200)