现在我想通过html表单获取一个字符串,然后把这个字符串赋值给views.py里某个字符串变量,请问大神该如何操作
认证高级PHP讲师
Reference: Django Notes (7) - User interaction and forms
Questions I answered: Python-QA
You can send ajax in the front-end and send the front-end data to the back-end, and the back-end will process it
Reference: Django Notes (7) - User interaction and forms
Questions I answered: Python-QA
You can send ajax in the front-end and send the front-end data to the back-end, and the back-end will process it