Date Tags Django

DJANGO: remove empty value in select

If you have choices field and in admin you don't want to show empty (field always is required) than in your model you should specify blank=False and default=<value>. In this case in admin you get choice field without empty value.


Comments

comments powered by Disqus