我有兩個MultiWidget一個在另一個裏面,但問題是MultiWidget包含不返回壓縮,我該如何從第一個小部件獲取正確的值? 在這種情況下,從SplitTimeWidget class SplitTimeWidget(forms.MultiWidget):
"""
Widget written to split widget into hours and minutes.
我已經寫了一個自定義的widget class AutoCompleteWidget(widgets.TextInput):
"""
widget to show an autocomplete box which returns a list on nodes available to be tagged
"""
def render(self, name, value, attrs=N