Okay, thank you for the response! I read the documentation but I don't really see how those settings address the implementation of the directory.
On Sat, Oct 19, 2019 at 7:54 AM Joseph Mohan <[email protected]> wrote: > Might be better to use the built in settings from mezzanine.conf: > http://mezzanine.jupo.org/docs/configuration.html > > Then you could store and use that information anywhere you like on the > site easily. > > Joe > > On Sat, Oct 19, 2019 at 3:30 AM Fendy Pierre <[email protected]> > wrote: > >> Hello, >> >> 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? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/mezzanine-users/00877893-255f-45fc-9e4b-c39a7dd1c91b%40googlegroups.com >> <https://groups.google.com/d/msgid/mezzanine-users/00877893-255f-45fc-9e4b-c39a7dd1c91b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mezzanine-users/CAJ8i0bk6hb0DV7K5gAbyw6pGJw%2BQ10fqm8mv9EddpKjX329Aaw%40mail.gmail.com > <https://groups.google.com/d/msgid/mezzanine-users/CAJ8i0bk6hb0DV7K5gAbyw6pGJw%2BQ10fqm8mv9EddpKjX329Aaw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mezzanine-users/CABEbFmCbF0TA4uSfJS1DHg6jQ9CukaQLGnfpDbx1BHdt739gow%40mail.gmail.com.
