How can I make a drop-down field to display a record in a database in Django. e.g. If I select a Last Name it displays the associated record
I am trying to display a record of a database after a user has selected the record from a dropdown list of one of the fields of the table (in Django). So far I have only seen examples of selecting data from other tables.