Wednesday, August 31, 2011

Re: Custom Validation on Inline Generic Foreign Key

I went ahead and hardcoded checks for fields that as of today I know
will only be in one of the models. I would still love to hear any
cleaner solutions if anyone has them.

On Aug 26, 10:12 am, John <johnschra...@gmail.com> wrote:
> Any ideas?
>
> In the inline model's validation I could hardcode checks for data that
> I expect will only be in one of the models, but that does not seem
> like the best option. I am still hoping for a simpler alternative to
> this.
>
> Thanks.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment