> > > 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
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
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
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
4 matches
Mail list logo