Re: Model field validation for admin

2009-11-10 Thread pjrhar...@gmail.com
> > > Hello, I want to make a field optional (blank=True), only if another > > > text field's options match a certain value in the admin. Is there any > > > way to do this? Thanks! You want to do this in a modelform, and then specify that model form in your admin.py. Put the checks in the

Re: Model field validation for admin

2009-11-10 Thread pixelcowboy
Ok, I'll try that.Thanks! On Nov 10, 10:19 am, rebus_ wrote: > 2009/11/10 pixelcowboy : > > > > > Hello, I want to make a field optional (blank=True), only if another > > text field's options match a certain value in the admin. Is there any > > way

Re: Model field validation for admin

2009-11-10 Thread rebus_
2009/11/10 pixelcowboy : > > Hello, I want to make a field optional (blank=True), only if another > text field's options match a certain value in the admin. Is there any > way to do this? Thanks! > This is from the top of my head, but you probably want to say null=True

Model field validation for admin

2009-11-10 Thread pixelcowboy
Hello, I want to make a field optional (blank=True), only if another text field's options match a certain value in the admin. Is there any way to do this? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups