1. 程式人生 > 實用技巧 >python3 之 天天生鮮 專案 address資訊展示

python3 之 天天生鮮 專案 address資訊展示

多個地址資訊 展示

class AddressView(LoginRequired):
    """使用者中心"""
    def get(self,request):

        # 獲取使用者
        user = request.user
        try:
            #篩選使用者 顯示