Hi, three models that concern this issue are Photo, Tag, and PhotoTag. Tag represents the model for all tags:
class PhotoTag( meta.Model ): tid = meta.ForeignKey( Tag, core = True ) pid = meta.ForeignKey( Photo, core = True, verbose_name = "Photo Tag", edit_ class META: # following prevents identical tags on photo TODO: doesn't work unique_together = ( ( "tid", "pid" ), ) Results in the following exception. Is unique_together not allowed on ForeignKeys? If so, can anyone suggest a workaround? File "/usr/lib/python2.3/site-packages/django/core/meta/__init__.py", line 259, in get_manipulator_fields fields.extend(f.get_manipulator_fields(self.opts, manipulator, change, name_p refix=prefix, rel=True)) File "/usr/lib/python2.3/site-packages/django/core/meta/fields.py", line 254, i n get_manipulator_fields params['validator_list'].append(getattr(manipulator, 'isUnique%s' % '_'.join( field_name_list))) AttributeError: PhotoManipulatorAdd instance has no attribute 'isUniquetid_pid' --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---