[Answered ]-Django – how to get back an empty choice in choice field?

2👍

In __init__, add:

self.fields['parent'].choices = ordered
self.fields['parent'].choices.append('', u'None)
👤jpic

Leave a comment