Django Shop Offers应用程序
django-mp-shop-offers的Python项目详细描述
#mp shop提供
安装:
1)使用pip安装:
````
pip安装django mp shop提供
```
2)将“提供”添加到“已安装的应用程序”。
3)添加“路径('offers/”,include('offers.urls')`to`urlpatterns`.
4)将'offers/offers.js`添加到js文件列表。
$(window).load(function(){
new price offer modal({
url:'{%url'offers:modal'object.id%}',
$target:$('[data role=“show price offer modal”]')
};
$('.pgwslideshow').pgwslideshow();
$('.pgwslideshow.ps current a').attr('data-fancybox',,'gallery').fancyBox();
});
<;/script>;
````
\python>;=3.5.2
安装:
1)使用pip安装:
````
pip安装django mp shop提供
```
2)将“提供”添加到“已安装的应用程序”。
3)添加“路径('offers/”,include('offers.urls')`to`urlpatterns`.
4)将'offers/offers.js`添加到js文件列表。
$(window).load(function(){
new price offer modal({
url:'{%url'offers:modal'object.id%}',
$target:$('[data role=“show price offer modal”]')
};
$('.pgwslideshow').pgwslideshow();
$('.pgwslideshow.ps current a').attr('data-fancybox',,'gallery').fancyBox();
});
<;/script>;
````
\python>;=3.5.2