Wednesday, January 30, 2013

How to make a field required in admin site

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.

No comments:

Post a Comment