Will it be more convenient for developer if the default value can be selected in the HTML form

8 views
Skip to first unread message

王祥

unread,
Jan 12, 2017, 4:49:01 AM1/12/17
to Django REST framework


Hello, every one. I'm using django rest framework to develop the restful api. 
In my model, there is a field named status. Its default value is 1. So, I think it will be more convenient if the second (which shows "norm") will be chosen by default.
Is there anyway I can realize it? Or is there anybody willing to realize it and make a pull request?
Reply all
Reply to author
Forward
0 new messages