django simple approach to multi-field search
- by Scott Willman
I have a simple address book app that I want to make searchable. The model would look something like:
class Address(models.Model):
address1 = models.CharField("Address Line 1", max_length=128)
address2 = models.CharField("Address Line 2", max_length=128)
city = models.CharField("City", max_length=128)
state =…