I'm fairly new to Mezzanine. I'm creating a website for a non profit organization. Mezzanine offers most of the requirements except a directory. What is the best way of implementing a directory of businesses? Their model are laid out as follows:
class BusinessCategory(models.Model):
name = models.CharField(max_length=50)
def __str__(self):
return self.name
class Business(Page):
name = models.CharField(max_length=50)
about = models.CharField(max_length=300, blank=True)
location = models.CharField(max_length=100, blank=True)
category = models.ForeignKey("BusinessCategory")
cover = models.ImageField(upload_to="businesses", blank=True)
website = models.URLField(blank=True)
phone_number = models.CharField(max_length=10, blank=True)
hours = models.CharField(max_length=50, blank=True)
days = models.CharField(max_length=50, blank=True)
email = models.EmailField(blank=True)
def __str__(self):
return self.name
Any advice as to the ideal way of implementing this?