日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

module 'sign.views' has no attribute 'search_name'

發布時間:2024/1/17 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 module 'sign.views' has no attribute 'search_name' 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

百度找到如下鏈接

http://lovesoo.org/python-script-error-attributeerror-module-object-has-no-attribute-solve-method.html

sign.views文件下沒有定義這個函數

# 發布會名稱搜索 @login_required def search_name(request):username = request.session.get('username', '')search_name = request.GET.get("name", "")search_name_bytes = search_name.encode(encoding="utf-8")event_list = Event.objects.filter(name__contains=search_name_bytes)return render(request, "event_manage.html", {"user": username, "events": event_list})

?

轉載于:https://www.cnblogs.com/mrwuzs/p/7985496.html

總結

以上是生活随笔為你收集整理的module 'sign.views' has no attribute 'search_name'的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。