示例#1
0
文件: models.py 项目: vimagox/xlist
 def __init__(self, city, cat, keywords):
     self.city = city
     self.cat = cat
     self.keywords = keywords
     self.url = CITY_URL.format(city, cat)
     self._items = []
示例#2
0
 def __init__(self, city, cat):
     self.city = city
     self.cat = cat
     self.url = CITY_URL.format(city, cat)
     self._items = []