Thanks for the comments. I am still in a planning phase and new to django as well. I will have to wrap my head around the tag stuff but these are great ideas.
On Dec 1, 11:13 am, "Guillermo Fernandez Castellanos" <[EMAIL PROTECTED]> wrote: > > Thank you. That is what I was thinking but I wanted to get others > > opinions first. This will also help stay with the DRY ideals. I guess > > the real difficult part would be if a new ministry is added to the > > list. If I understand how it works I would have to make changes in the > > model and then modify the database manually.No, you wouldn't have to modify > > the database manually. > You would simply edit the code and add a line. Say: > MINISTRY_CHOICES = ( > ('MUS', 'music'), > ('SIN', 'singles'), > ('STU', 'students'), > ('NEW', 'new ministry'), > ) > and that would work. > > But, with what you said, I would also recommend tags, as Chris said. > > Make a ministry model: > class Ministry(models.Model): > title = models.CharField(maxlength=79) > > and then a 1 to many field: > ministry = models.ManyToManyField(Ministry,related_name='post_ministries') > > G --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---