Djangoã§å®ç¾©æ¸ã¿ã®ãã©ã¼ã ã®ãã£ã¼ã«ãã®é çªãå¤ããæ¹æ³ã é常ã¯å®ç¾©ããã¨ãã®é çªã ãã©ãå¾ããç¡çç¢çå¤ãããã¨ããªããbase_fieldsãSortedDictãªã®ã§ãkeyOrderãå¤ããã°è¯ãã >>> from django import forms >>> class MyForm(forms.Form): ... name = forms.CharField() ... value = forms.CharField() ... >>> print MyForm() <tr><th><label for="id_name">Name:</label></th><td><input type="text" name="name" id="id_name" /></td></tr> <tr><th><label for="id_value">Value:</label
{{#tags}}- {{label}}
{{/tags}}