Wednesday, January 30, 2013

Re: How to make a field required in admin site

It is a third application I can't do that, that's why I want to do it in the adminModel.

Could you help me please ???



On Wed, Jan 30, 2013 at 10:34 AM, Black9design.com <black9designs@gmail.com> wrote:
Remove the line blank=True and it will be required.

On Jan 30, 2013, at 7:01 AM, Ariel Isaac <isaacrc82@gmail.com> wrote:

> Hi everybody,
>
> I have a model inherited from a third application call Video in that
> model they have the thumbnail field with blank = True, this make in
> the admin site that user could left in blank the thumbnail field,
> that's something I don't want to happen, I want to make in the
> admin.py in VideoAdmin the field thumbnail required, how is possible
> that ??? anybody knows how to achieve that ???
>
> I am working with django 1.3
>
> Regards,
> Ariel
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment