![]() |
1
0
你应该使用django形式 https://docs.djangoproject.com/en/3.2/topics/forms/ . 除非此视图是API,否则请使用django-rest框架中的序列化程序。 https://www.django-rest-framework.org/api-guide/serializers/ |
![]() |
2
0
有一些内置函数可以进行字段验证。这可以通过Regex Validator完成。 他们的名单在文件中。 https://docs.djangoproject.com/en/3.2/ref/validators/ |
![]() |
Thinkpad · Excel引用基于字符串的范围 2 年前 |
![]() |
DwightD · Python 3中的用户输入和排序列表 6 年前 |
![]() |
P S · 在laravel 5.5中输入不起作用时重定向回 6 年前 |
![]() |
Paul · 如何在输入值中包含图像 6 年前 |
![]() |
Mose · c++中带有输入函数的Lambda auto给出错误 6 年前 |
![]() |
Henri Wurm · 首先将第一个输入保存到文件夹中,然后引用它 6 年前 |