我在Django中实现了一个。它是一个图像字段,除了直接分配文件外,还允许辅助URL字符串从其中加载图像。def get(self, *args, **kwargs): Performs the query and returns a single object matching thegiven """
我正在尝试查找匹配特定campus_id的数据库。如果我使用整数,但对字符串不起作用,这是可行的。= request.GET.get('search', None) if query and request.method == 'GET':\db\models\query.py", line 799, in _filter_or_exclude
clone.query</e