Hi, Is there any functionality, or possibility, to generate many fields in a model file that are all identical and follow an easy (repetitive) naming convention?
i.e. locations = (loc1, loc2, lo3) places = (place2, place2) for l in locations: for p in places: l + p + _has_been_checked = models.BooleanField(...) right now I"m just running this kind of thing in a shell and copy/ pasting. Any ideas how this could work? Manager methods maybe? TIA -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.