Hi! I have the following construct in my model:
class SomeObject(models.Model): type = models.ForeignKey(SomeObjectType) ... a few other fields... I want to present a form for editing SomeObject, with drop-down list for 'type' field. However I want to apply different validation rules for different 'type' selection (i.e. different sets of fields required depending on 'type' selected). SomeObjectType actually acts as an enumeration, yet I want it stored in the database. What is the easiest way to do it, except defining custom Manipulator? BR, Przemyslaw --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---