jiazou/4bp — comment on commit 64c40d42e63064752ebbad703244502d15f7987e
File: Abp/search/models.py line 47
By zhanghao8301:

get rid of this model. Instead, add into the Product model a field called "deals" as a models.ManyToManyField(Deal) to describe this relationship. See
https://docs.djangoproject.com/en/1.3/topics/db/models/ and search for "ManyToManyField for reference".